learnbyexample ( learnbyexample@programming.dev ) to Linux@lemmy.mlEnglish · 3 years agoThe magic behind configure, make, make install - How it works in Unixthoughtbot.comexternal-linkmessage-square12linkfedilinkarrow-up137
arrow-up137external-linkThe magic behind configure, make, make install - How it works in Unixthoughtbot.comlearnbyexample ( learnbyexample@programming.dev ) to Linux@lemmy.mlEnglish · 3 years agomessage-square12linkfedilink
minus-squareGnomeComedy ( GnomeComedy@beehaw.org ) linkfedilinkarrow-up1·3 years agoYou assume everyone has root. On a system I don’t administer, I can compile and install software in my home directory (or shared directories that I have write access) by using: ./configure --PREFIX=/home/myuser/software/ make # to compile make install #without sudo, to install to ~/software/bin So when you say “only in (B)LFS”, you’re overlooking a VERY common use case - especially in HPC and other systems NOT running on my desk/lap.
You assume everyone has root.
On a system I don’t administer, I can compile and install software in my home directory (or shared directories that I have write access) by using:
./configure --PREFIX=/home/myuser/software/
make # to compile
make install #without sudo, to install to ~/software/bin
So when you say “only in (B)LFS”, you’re overlooking a VERY common use case - especially in HPC and other systems NOT running on my desk/lap.