With Ubuntu 14.04 LTS. I am working on a custom install of gcc
that I want to put alongside the supported version that is too old for my purposes.
My computer has version 4.8.4 installed from the Ubuntu repository, and I was looking at whereis gcc
to see how the gcc files are arranged in the filesystem normally.
I then noticed that the same executables are stored both in /usr/bin/
and /usr/bin/X11
(using ll -L
on both folders). The following questions arise:
- In general, what is the purpose of
/usr/bin/X11/
as distinct from/usr/bin/
? I have looked into the standard filesystem hierarchy, and/usr/bin/X11/
is no standard directory; - In particular, is it correct to assume that the files in
/usr/bin/X11/
are just a copycat of those in/usr/bin/
as a matter of rule? The newgcc
has no<mount point>/bin/X11
folder in its tree. This is useful to know in order to redirect with confidence the existing symlinks in/usr/bin/X11
to the executables of the new version (no-devil-in-the-details point of caution).
Thanks for thinking along.
dpkg -S /bin/X11
report?/usr/share/doc/x11-common/NEWS.Debian.vz
/usr/bin/X11
. But nowadays all binaries live in/bin
and/usr/bin
and/sbin
and/usr/sbin
; while/usr/bin/X11
serves no purpose any longer, it is still created as a symlink to/usr/bin
in order to keep compatibility with old sysadmins and old scripts, which are used to xterm being/usr/bin/X11/xterm
./usr/bin/X11
is a file in/usr/bin
. It is a symlink pointing to the current directory,.
; this makes/usr/bin/X11
a synonym for/usr/bin
.