Since Sagemath is not in the repos, I want to compile it myself. I’m unsure of where to put custom compiled software, though. The Ubuntu docs tell me to avoid make install
because it makes it hard to remove the package later, and to use checkinstall
instead.
https://help.ubuntu.com/community/CompilingEasyHowTo
https://help.ubuntu.com/community/CompilingSoftware
https://help.ubuntu.com/community/CheckInstall
The guides for installing Sage, however, tell me that Sage lives in an isolated directory and does not interfere with the rest of the system. They recommend extracting the tarball into a subdirectory of of my home folder, cd
into the created directory, and just run make
(after making sure I have the required dependencies). They recommend NOT installing as root, and they don’t run make install
.
http://doc.sagemath.org/html/en/installation/source.html#step-by-step-installation-procedure
Should I just put Sage in a subdirectory of my home folder like they instruct me too? It won’t be hard to delete it later if I want, since it is all contained in one directory. Is it the better option?
Beyond Sage, where do you prefer to put programs you built from source yourself? Thanks!