learnbyexample@programming.dev to Linux@lemmy.mlEnglish · 10 months agoThe magic behind configure, make, make install - How it works in Unixthoughtbot.comexternal-linkmessage-square12fedilinkarrow-up160arrow-down11
arrow-up159arrow-down1external-linkThe magic behind configure, make, make install - How it works in Unixthoughtbot.comlearnbyexample@programming.dev to Linux@lemmy.mlEnglish · 10 months agomessage-square12fedilink
minus-squareGnomeComedy@beehaw.orglinkfedilinkarrow-up1·edit-210 months 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.