LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1364|回复: 3

解压缩.tar.Z文件时找不到命令

[复制链接]
发表于 2005-4-12 14:40:52 | 显示全部楼层 |阅读模式
是这样的
$ tar Zxvf meme.3.0.10.tar.Z
tar: compress:无法 exec: 没有那个文件或目录
tar: 错误是不可恢复的:现在退出
tar: Child returned status 2
tar: Error exit delayed from previous errors

$ uncompress meme.3.0.13.tar.Z
bash: uncompress: command not found

$ whereis uncompress
uncompress: /usr/share/man/man1p/uncompress.1p.gz

谢谢!
发表于 2005-4-12 14:44:06 | 显示全部楼层
没有uncompress命令吗?试试zcat meme.3.0.13.tar.Z | tar -xvf -
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-12 15:13:18 | 显示全部楼层
好了,谢谢
再问一个问题,为啥俺的没uncompress命令呢?怎么获得这个命令呢?
这是我的系统信息
Linux localhost.localdomain 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux
回复 支持 反对

使用道具 举报

发表于 2005-4-12 21:15:15 | 显示全部楼层
Post by cjeans
是这样的
$ tar Zxvf meme.3.0.10.tar.Z
tar: compress:无法 exec: 没有那个文件或目录
tar: 错误是不可恢复的:现在退出
tar: Child returned status 2
tar: Error exit delayed from previous errors

$ uncompress meme.3.0.13.tar.Z
bash: uncompress: command not found

$ whereis uncompress
uncompress: /usr/share/man/man1p/uncompress.1p.gz

谢谢!

我记得我 tar zxvf meme.3.0.10.tar.Z  就行的,那个z是小写的,就像解压.tar.gz的包一样的命令的,你试试,至少这样就统一一些嘛,不用记这么麻烦
回复 支持 反对

使用道具 举报

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

本版积分规则

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