The overwhelming majority of .deb packages, whether or not they
are provided by official repositories, install with the prefix
What that means is that executables intended to be run by the
user go in /usr/games if it's a game), shared libraries go in
/usr/lib, platform-independent shared data go in /usr/share,
header files go in /usr/include, and source code installed
automatically goes in A small percentage of packages use / as
the prefix. For example, the bash package puts the bash
executable in /usr/bin. This is for packages that provide the
bare essentials to run in single-user mode (such as recovery
mode) and to start multi-user mode (but remember, that often
includes functionality to mount some kinds of network
shares...in case /usr is a remote filesystem). A small
percentage of .deb packages, mostly those created with Quickly,
create a package-specific folder inside /opt and put all their
files there. Other than that, most of the time /opt is the
location used by software that is installed from an exec