This question already has an answer here:
I read some posts and parts of FHS to understand which directory I should install packages in. As far as I could understand
/opt is for independent packages and
/usr/local is for packages that are not maintained by distro repo's.
I want to install a network emulator called "mininet" on my Debian wheezy, so that all users can use it. It has an install.sh script which installs both types of packages: maintained by repo & not maintained by repo.
As the first step of the installation I can indicate where I want my base directory to be. Now my question is which directory I should indicate as the base directory?
should it be:
/opt" or some other directory?
I would appreciate if you could explain your answer too Thank you.
EDIT: Should I specify the name of the package in the path like we do when installing in
/usr/local/mininet/) or I shouldn't?