首页 > 其他 > 详细

指定特殊的安装目录用configure进行配置

时间:2018-02-07 11:43:31      阅读:172      评论:0      收藏:0      [点我收藏+]
linux - Make install, but not to default directories? - Stack Overflow

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 possible? 
even if it references tools in the /usr/bin etc.?

It depends on the package. If the Makefile is generated by GNU autotools (./configure) you can usually set the target location like so:

./configure --prefix=/somewhere/else/than/usr/local

If the Makefile is not generated by autotools, but distributed along with the software, simply open it up in an editor and change it.
The install target directory is probably defined in a variable somewhere.

指定特殊的安装目录用configure进行配置

原文:https://www.cnblogs.com/everfight/p/configure.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!