Make install, but not to default directories?

后端 未结 7 1937
迷失自我
迷失自我 2020-11-30 16:41

I want to run \'make install\' so I have everything I need, but I\'d like it to install the things in their own folder as opposed to the system\'s /usr/bin etc. is that poss

7条回答
  •  离开以前
    2020-11-30 17:29

    Since don't know which version of automake you can use DESTDIR environment variable.
    See Makefile to be sure.

    For example:

     export DESTDIR="$HOME/Software/LocalInstall" && make -j4 install
    

提交回复
热议问题