QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3370|回复: 17

自己安装的软件应该在哪里卸载?怎么卸载?

[复制链接]
发表于 2004-11-5 13:49:59 | 显示全部楼层 |阅读模式
自己安装的软件应该都在哪卸载,有没有类似windows那种添加删除程序,还是要找到软件安装的地方直接删除,或者用tar -e filename.tar命令?而tar -e filename.tar命令又到底怎么用是什么意思?不太理解!请多多指教!

thanks!
发表于 2004-11-5 13:54:08 | 显示全部楼层
试试make uninstall,许多源码包支持的。
回复

使用道具 举报

 楼主| 发表于 2004-11-5 14:02:08 | 显示全部楼层
[quote:4acfecccab=""]试试make uninstall,许多源码包支持的。[/quote]
[zhyfly@zhyfly soft]$ make uninstall
make: *** No rule to make target `uninstall'.  Stop.
这是什么意思,make uninstall怎么用?能不能举个例子看看!我是新手,请指教!


[zhyfly@zhyfly soft]$ tar xvfj d4x.tar.bz2
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error exit delayed from previous errors

我的解.tar.bz2时总是出现上面的情况,怎么回事?
回复

使用道具 举报

发表于 2004-11-5 14:20:31 | 显示全部楼层
你压根就没有完成make install,怎么能使用make uninstall?
不过我说的是“许多源码包支持的。”就是说许多也不支持,对不支持的直接删除安装目录即可。
回复

使用道具 举报

 楼主| 发表于 2004-11-5 14:56:59 | 显示全部楼层
奥!
不过我真得不知道make install怎么用?
刚才安装d4x
按照说明
[root@zhyfly d4x-2.5.0beta2]# ./configure
------------------------------------------------------------------------------

                  D4X -- Web Downloader for X (2.5.0beta2)

------------------------------------------------------------------------------
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
接下来
[root@zhyfly d4x-2.5.0beta2]# make
make: *** No targets specified and no makefile found.  Stop.
[root@zhyfly d4x-2.5.0beta2]# make install
make: *** No rule to make target `install'.  Stop.
这是什么意思?


还有为什么我的机子上.tar.bz2的总是解不了?


please explain to me
thanks
回复

使用道具 举报

发表于 2004-11-5 15:00:00 | 显示全部楼层
你缺少gcc,没有编译环境就安装不了东西。找到原安装光盘将gcc和gc安上。
解tar.bz2包:
#tar -vxjf xxx.tar.bz2
回复

使用道具 举报

发表于 2004-11-5 20:31:17 | 显示全部楼层
我觉得linux下面都一个样子,根本想不起来它都装到什么目录下面去了
而且删除还怕把别的文件删掉/。。好复杂哦。
所以只安装从来不管卸载。
回复

使用道具 举报

 楼主| 发表于 2004-11-6 16:46:14 | 显示全部楼层
[quote:48f5248c9a=""]我觉得linux下面都一个样子,根本想不起来它都装到什么目录下面去了
而且删除还怕把别的文件删掉/。。好复杂哦。
所以只安装从来不管卸载。[/quote]厉害,但确实没办法     
回复

使用道具 举报

 楼主| 发表于 2004-11-6 17:40:46 | 显示全部楼层
[zhyfly@zhyfly soft]$ tar -vxjf d4x.tar.bz2
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error exit delayed from previous errors
同样的后果

而且我的redhat是硬盘安装的
回复

使用道具 举报

发表于 2004-11-6 17:45:22 | 显示全部楼层

Re: 自己安装的软件应该在哪里卸载?怎么卸载?

[quote:f78033915c="zhy2111314"]……或者用tar -e filename.tar命令?而tar -e filename.tar命令又到底怎么用是什么意思?……[/quote]

tar 有 -e 这个选项么??

[zhyfly@zhyfly soft]$ tar -vxjf d4x.tar.bz2
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error exit delayed from previous errors

先file d4x.tar.bz2 看一下到底是什么文件,不要这么相信扩展名。
回复

使用道具 举报

 楼主| 发表于 2004-11-6 18:24:30 | 显示全部楼层
[zhyfly@zhyfly soft]$ file d4x.tar.bz2
d4x.tar.bz2: gzip compressed data, from Unix

这是不是表示是压缩文件啊?还是不能处理
回复

使用道具 举报

发表于 2004-11-6 18:36:10 | 显示全部楼层
gzip compressed data, from Unix

GZIP 文件! 用 gunzip 解压缩。
回复

使用道具 举报

 楼主| 发表于 2004-11-6 18:46:03 | 显示全部楼层
[quote:a8a97ad0ac=""]
gzip compressed data, from Unix

GZIP 文件! 用 gunzip 解压缩。[/quote][zhyfly@zhyfly soft]$ gunzip d4x.tar.bz2
gunzip: d4x.tar.bz2: unknown suffix -- ignored
是不是需要先改名啊?
回复

使用道具 举报

 楼主| 发表于 2004-11-6 18:48:08 | 显示全部楼层
[root@zhyfly soft]# ./ymsgrcn.exe
bash: ./ymsgrcn.exe: 权限不够

这又是什么意思?
回复

使用道具 举报

发表于 2004-11-6 18:49:16 | 显示全部楼层
是。gunzip 这点比较傻,把后缀改成 .gz

另:你哪里下载的文件?怎么这样……
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-18 16:59 , Processed in 0.103884 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表