Generally speaking, should self installation by compiling source be stored in /usr or /usr/local (specified to --prefix)?
When to install to /usr and when to /usr/local?
E.g.
- I often run
checkinstallto create a deb file after compilation of source distribution, andcheckinstallinstalls the software by callingdpkg. isn't this the same as installing software from OS repositories? After install, both can be managed bydpkg. What differences are between them? I am running Ubuntu 14.04. I don't use emacs from its repository.
I installed my emacs by compling from source and
checkinstall, the default location is/usr/local. e.g./usr/local/bin/emacsand/usr/local/share/emacs/24.4/.I installed ESS from its offical site. The default install location is
/usre.g./usr/share/emacs/. I don't find a way to specify--prefixfor ESS. I runmake installdirectly.So in my emacs, I can't find S mode offered by ESS.
Shall I reinstall emacs with
./configure --prefix=/usr?
Thanks!