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
checkinstall
to create a deb file after compilation of source distribution, andcheckinstall
installs 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/emacs
and/usr/local/share/emacs/24.4/
.I installed ESS from its offical site. The default install location is
/usr
e.g./usr/share/emacs/
. I don't find a way to specify--prefix
for ESS. I runmake install
directly.So in my emacs, I can't find S mode offered by ESS.
Shall I reinstall emacs with
./configure --prefix=/usr
?
Thanks!