The magic behind configure, make, make install - How it works in Unixthoughtbot.comexternal-link learnbyexample ( @learnbyexample@programming.dev ) Linux@lemmy.mlEnglish • 1 year ago message-square12fedilinkarrow-up137
arrow-up137external-linkThe magic behind configure, make, make install - How it works in Unixthoughtbot.com learnbyexample ( @learnbyexample@programming.dev ) Linux@lemmy.mlEnglish • 1 year ago message-square12fedilink
minus-square GnomeComedy ( @GnomeComedy@beehaw.org ) linkfedilink1•edit-21 year 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.