V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
solo7net
V2EX  ›  问与答

LZ 第一次用centOS 用./configure --prefix=/usr 貌似安装到了usr下面,怎么删除重新安装到别的目录

  •  
  •   solo7net · Aug 13, 2013 · 4944 views
    This topic created in 4652 days ago, the information mentioned may be changed or developed.
    LZ安装mono
    看了不靠谱的帖子 用./configure --prefix=/usr 貌似安装到了usr下面,现在再安装jexus找不到路径了,怎么删除 重新安装到别的目录.
    4 replies    1970-01-01 08:00:00 +08:00
    stackpop
        1
    stackpop  
       Aug 13, 2013 via Android   ❤️ 1
    看一下makefile里面有没有make uninstall选项。

    如果是安装其他依赖软件找不到路径,试试有没有--with-依赖包名字=路径 这样的编译选项
    vietor
        2
    vietor  
       Aug 13, 2013   ❤️ 1
    make uninstall没有的话,就悲剧了。
    实在感觉不爽,重装CentOS,或者手工删除。
    不过貌似放在usr里面也没什么不可的,放掉那颗“执着”的心吧。
    rrfeng
        3
    rrfeng  
       Aug 13, 2013   ❤️ 1
    make uninstall
    如果没有
    看 makefile 里的 make install ,做了什么操作(基本就是复制文件,创建链接),手工处理
    solo7net
        4
    solo7net  
    OP
       Aug 13, 2013
    @stackpop
    @vietor
    @rrfeng
    make uninstall 搞定
    谢谢大家
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5435 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 09:02 · PVG 17:02 · LAX 02:02 · JFK 05:02
    ♥ Do have faith in what you're doing.