After entering into root mode in /usr
, I found the following directories.
swapnil@swapnil-Inspiron-3541:~$ sudo su
[sudo] password for swapnil:
root@swapnil-Inspiron-3541:/home/swapnil# cd /usr
root@swapnil-Inspiron-3541:/usr# ls
bin games include lib local locale sbin share src
I know the difference between bin
and sbin
but need help with local
and locale
.
Best Answer
In distributions like Ubuntu,
/usr
is where packages are supposed to install stuff and/usr/local
is where the system administrator can install stuff outside the packaging system. From the Filesystem Hierarchy Standard:/usr/locale
seems to be a mistake in packaging. It contains translations of text used by some Unity lenses, but those are supposed to go in/usr/share
. For example, here's the directory structure of/usr/locale
:And in
/usr/share/locale
, one will find hundreds of such files:Packages are not supposed to create more directories in the top level of
/usr
. This seems to be a harmless bug. You may report it if you feel like it.