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.

最新文章

  1. linux简单命令
  2. HTML和CSS经典布局1
  3. Deep Learning 5_深度学习UFLDL教程:PCA and Whitening_Exercise(斯坦福大学深度学习教程)
  4. python Eve RESTFul 尝试笔记
  5. Erp第二章:业务流程化、集成、规划
  6. 前端新人学习笔记-------html/css/js基础知识点(三)
  7. HDU1698_Just a Hook(线段树/成段更新)
  8. jQuery EasyUI实现全部关闭tabs
  9. Day4:T1小技巧(类似于指针操作)T2搜索+小细节
  10. [lua] 你所不知道的lua nil值在可变参数函数中怎么处理!
  11. 花了一年时间开发的TTFEditor 字体编辑器
  12. [阿里云部署] Ubuntu+Flask+Nginx+uWSGI+Mysql搭建阿里云Web服务器
  13. 二分图最大匹配模板【匈牙利;Dinic最大流】
  14. 【翻译】对于Ext JS 5,你准备好了吗?
  15. MYSQL——数据库存储引擎!
  16. Bubble sort of sorting algorithm
  17. mongodb安装及配置
  18. Mac快捷键大全
  19. Redis-4.0.11集群配置
  20. byte[]数组的正则表达式搜索 z

热门文章

  1. SQLServer 2012 报表服务部署配置(2)
  2. JavaScript 的 parseInt 取整
  3. 51nod 1693 水群
  4. IE浏览器已经卸载,但是桌面上的图标却无法删除的解决方案
  5. Codeforces 666E Forensic Examination SAM or SA+线段树合并
  6. [手势识别] CNN + OpenCV 手势识别记录
  7. webpack安装包的时候 1程序目录不要在C盘 2路径不要有中文 3用cnpm
  8. 在ubuntu中用命令安装iperf
  9. jquery Syntax error, unrecognized expression:的解决方法
  10. Js笔记-第17课