New to Linux (kinda) I'm wanting to set up my system for building from source. I have read that packages built from source should go into /usr/local/src. However, I have also seen on other forums some people prefer to store such packages in their home folder, saying they prefer them to be completely isolated. I was hoping for some more input on this issue. Where to store binaries, source packages, libararies etc.. Thank you.
I would recommend using your distribution's package manager if possible, simply because once you start installing a lot of stuff from source keeping up updates, dependencies, etc. becomes kind of a pain... and yes, I did a LFS system...
That said, when I ran Slackware I always installed "everything" from the discs and then anything extra I wanted I would configure to be put in /opt/softwarename-version (ie,
It really doesn't matter where you install things, AS LONG AS you can easily add the libraries, binaries, etc locations to the relevant environment variables like
$PATH and in