分页: 1 / 1

Ubuntu下怎么卸载软件?

发表于 : 2008-10-20 21:51
yanshangzhao
知道怎么安装,可是怎么卸载呢?还有安装的时候怎么选择安装路径呢?

Re: Ubuntu下怎么卸载软件?

发表于 : 2008-10-20 22:01
HuntXu
为什么要选择安装路径呢?

apt-get remove

Re: Ubuntu下怎么卸载软件?

发表于 : 2008-10-21 9:26
jimmerlin
如果用deb包的话,用synaptic就可以卸载了。

如果用源码包的话,你可以这样:
在最后编译的时候,用check install而不是make install,这样就可以自动生成deb包,卸载也方便了,但是有时check install安不上去,我也没弄清原因 :em02

也可以在./configure的时候,加上这个./configure --prefix=****
****是指你要装的目录,比如要装到/usr/local
./configure --prefix=/usr/local

Re: Ubuntu下怎么卸载软件?

发表于 : 2008-10-21 16:14
yanshangzhao
jimmerlin 写了:如果用deb包的话,用synaptic就可以卸载了。

如果用源码包的话,你可以这样:
在最后编译的时候,用check install而不是make install,这样就可以自动生成deb包,卸载也方便了,但是有时check install安不上去,我也没弄清原因 :em02

也可以在./configure的时候,加上这个./configure --prefix=****
****是指你要装的目录,比如要装到/usr/local
./configure --prefix=/usr/local
谢谢了

Re: Ubuntu下怎么卸载软件?

发表于 : 2010-05-14 21:22
永恒の封印
总算明白了,谢啦!~