3.0的那两个压缩包无法解压怎么解压?

两个压缩包合并成一个压缩包里,解压成一个压缩文件了,还要在解压一个文件,空间不够怎么办?求高手解!_百度知道
两个压缩包合并成一个压缩包里,解压成一个压缩文件了,还要在解压一个文件,空间不够怎么办?求高手解!
我有更好的答案
解压后把压缩包给删除了试试看!
有点描述不清,需要进一步描述或者抓图
其他类似问题
压缩文件的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁我使用过的Linux命令之unrar - 解压rar文件 - Bash @ Linux - ITeye技术网站
博客分类:
我使用过的Linux命令之unrar - 解压rar文件
本文链接:
(转载请注明出处)
  现在常用的压缩文件格式是rar格式,使用频率甚至超过了zip格式,WinRAR可以压缩和解压rar文件。根据Google趋势的统计,winrar与winzip的全球平均访问量是1.00比0.43(
),而中国范围的访问量更是1.00比0.14(
)。而Linux一般情况下是不能解压rar文件的,有一种变通的方法,就是先用WinRAR将rar格式的压缩包转换成zip包,然后上传至Linux使用unzip解压。如果安装了rarlinux,就使得在Linux下直接解压rar文件成为可能,要注意的是该软件的某个版本可能并不适用于所有Linux版本。可以到WinRAR官方网站去下载rarlinux,当前版本是3.9.3。本文后面也提供了三个版本的rarlinux,一个是3.0,一个是3.6.0,一个是3.9.3。经过我的测试,3.6.0版本可以用于RHEL3.X版本,但3.9.3不行,只能用于更高版本的Linux,而3.0版本可以用于红帽子7.3。而根据rarlinux安装包中的technote.txt中所说“THE ARCHIVE FORMAT DESCRIBED BELOW IS ONLY VALID FOR VERSIONS SINCE 1.50”,其实只要rarlinux版本高于1.50就可解压绝大部分rar文件。因此,如果要在Linux下使用rar,可以试一下本文后面附上的3.0版。
rarlinux的安装很简单,只需要解压就可以了。为了使用起来方便,可以将解压后的目录添加到PATH中,方便使用。
首先将rarlinux-3.0.tar.gz上传到Linux的某个目录。
[root@localhost setup]# ls -l rarlinux-3.0.tar.gz
-rw-r--r--
月 19 09:45 rarlinux-3.0.tar.gz
[root@localhost setup]# tar -C /opt -zxf rarlinux-3.0.tar.gz
[root@localhost setup]# PATH=/opt/rar:$PATH
使用-?参数可以查看帮助信息,x参数用于解压文件,
t参数用于测试是否损坏,l参数用于列出文件。
&== 获取帮助
unrar x &rar-file&
&== 解压文件
unrar t &rar-file&
&== 测试文件
unrar l &rar-file&
&== 列出文件
下面是完整的使用方式,太复杂了,上面的几种用法基本上就够了。
[root@localhost setup]# unrar -?
UNRAR 3.00 freeware
Copyright (c)
Eugene Roshal
unrar &command& -&switch 1& -&switch N& &archive& &files...&
&@listfiles...& &path_to_extract\&
&Commands&
Extract files to current directory
List archive [technical]
Print file to stdout
Test archive files
Verbosely list archive [technical]
Extract files with full path
&Switches&
Stop switches scanning
Append archive name to destination path
Set path inside archive
Disable authenticity verification check
Disable comments show
Disable read configuration
Convert names to lower case
Convert names to upper case
Exclude paths from names
Freshen files
Disable percentage display
Send all messages to stderr
Disable all messages
Keep broken extracted files
Overwrite existing files
Do not overwrite existing files
Save or restore file owner and group
p[password]
Set password
Do not query password
Recurse subdirectories
Process files modified after &date& in YYYYMMDDHHMMSS format
Process files modified before &date& in YYYYMMDDHHMMSS format
Process files newer than &time&
Process files older than &time&
Update files
Create volumes with size autodetection or list all volumes
File version control
Pause before each volume
Exclude specified file
Read file names to exclude from stdin
Exclude files in specified list file
Assume Yes on all queries
[root@localhost setup]#
示例一 使用unrar检查完整性、列出文件和解压文件
假定你已经安装前面所述的安装方式操作过了。首先把一个rar文件上传到某个目录。比如把add2cvs.rar上传到/root/test/目录中。
[root@localhost test]# ls -l
-rw-r--r--
944 10月 19 11:20 add2cvs.rar
[root@localhost test]# unrar t add2cvs.rar
UNRAR 3.00 freeware
Copyright (c)
Eugene Roshal
Testing archive add2cvs.rar
add2cvs2.sh
add2cvs.sh
add2cvs0.sh
add2cvs1.sh
[root@localhost test]# unrar l add2cvs.rar
UNRAR 3.00 freeware
Copyright (c)
Eugene Roshal
Archive add2cvs.rar
Packed Ratio
-------------------------------------------------------------------------------
add2cvs2.sh
63% 22-10-10 11:32
C7EA31AB m3b 2.9
add2cvs.sh
64% 22-10-10 11:30
add2cvs0.sh
66% 22-10-10 11:32
add2cvs1.sh
65% 22-10-10 11:32
-------------------------------------------------------------------------------
[root@localhost test]# unrar x add2cvs.rar
UNRAR 3.00 freeware
Copyright (c)
Eugene Roshal
Extracting from add2cvs.rar
Extracting
add2cvs2.sh
Extracting
add2cvs.sh
Extracting
add2cvs0.sh
Extracting
add2cvs1.sh
[root@localhost test]# ls -l
-rw-r--r--
236 10月 22
2010 add2cvs0.sh
-rw-r--r--
281 10月 22
2010 add2cvs1.sh
-rw-r--r--
302 10月 22
2010 add2cvs2.sh
-rw-r--r--
944 10月 19 11:20 add2cvs.rar
-rw-r--r--
314 10月 22
2010 add2cvs.sh
[root@localhost test]#
示例二 rarlinux版本3.9.3在RHEL5.5下的安装情况
rarlinux版本3.9.3的rar_static可以用于RHEL 5.5,但rar和unrar缺少相关的so文件,因为libc版本要求高。
[root@rhel55 rar]# lsb_release -a
LSB Version:
:core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description:
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
[root@rhel55 tools]# ls -l rarlinux.tar.gz
-rw-r--r-- 1 root root -23 15:52 rarlinux.tar.gz
[root@rhel55 tools]# tar zxf rarlinux.tar.gz
[root@rhel55 tools]# cd rar
[root@rhel55 rar]# ls
default.sfx
rar_static
readme.txt
license.txt
rarfiles.lst
technote.txt
whatsnew.txt
[root@rhel55 rar]# ./rar
./rar: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./rar)
[root@rhel55 rar]# ./unrar
./unrar: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./unrar)
[root@rhel55 rar]# ./rar_static
Copyright (c)
Alexander Roshal
15 Mar 2010
Shareware version
Type RAR -? for help
rar &command& -&switch 1& -&switch N& &archive& &files...&
&@listfiles...& &path_to_extract\&省略输出
[root@rhel55 rar]#
示例三 rarlinux版本3.9.3在RHEL3.4下的安装情况
rarlinux版本3.9.3在RHEL3.4下出现段错误,根本没法用。
[root@web186 setup]# lsb_release -a
LSB Version:
Distributor ID: RedHatEnterpriseAS
Description:
Red Hat Enterprise Linux AS release 3 (Taroon Update 4)
TaroonUpdate4
[root@web186 setup]# ls rarlinux.tar.gz -l
-rw-r--r--
月 23 15:59 rarlinux.tar.gz
[root@web186 setup]# tar zxf rarlinux.tar.gz
[root@web186 setup]# cd rar
[root@web186 rar]# ls
default.sfx
rar_static
readme.txt
license.txt
rarfiles.lst
technote.txt
whatsnew.txt
[root@web186 rar]# ./rar
./rar: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./rar)
./rar: /lib/tls/libc.so.6: version `GLIBC_2.7' not found (required by ./rar)
./rar: /lib/tls/libc.so.6: version `GLIBC_2.3.4' not found (required by ./rar)
[root@web186 rar]# ./unrar
./unrar: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./unrar)
./unrar: /lib/tls/libc.so.6: version `GLIBC_2.7' not found (required by ./unrar)
./unrar: /lib/tls/libc.so.6: version `GLIBC_2.3.4' not found (required by ./unrar)
[root@web186 rar]# ./rar_static
FATAL: kernel too old
段错误 (core dumped)
[root@web186 rar]#
博主建议:如果您使用的rarlinux版本报如上的错误信息,请下载本文附件
尝试一下。
示例四 rarlinux版本3.6.0在RHEL3.4下的安装情况
rarlinux版本3.6.0在RHEL3.4下可以正常使用。
[root@web186 setup]# lsb_release -a
LSB Version:
Distributor ID: RedHatEnterpriseAS
Description:
Red Hat Enterprise Linux AS release 3 (Taroon Update 4)
TaroonUpdate4
[root@web186 setup]# ls rarlinux-3.6.0.tar.gz -l
-rw-r--r--
月 23 16:04 rarlinux-3.6.0.tar.gz
[root@web186 setup]# tar zxf rarlinux-3.6.0.tar.gz
[root@web186 setup]# cd rar
[root@web186 rar]# ls
default.sfx
license.txt
rarfiles.lst
technote.txt
whatsnew.txt
file_id.diz
rar_static
readme.txt
[root@web186 rar]# ./rar
Copyright (c)
Alexander Roshal
5 Aug 2006
Shareware version
Type RAR -? for help省略输出
[root@web186 rar]#
[root@web186 rar]# ./unrar
UNRAR 3.60 freeware
Copyright (c)
Alexander Roshal
[root@web186 rar]#
示例五 rarlinux版本3.6.0在RH7.3下的安装情况
rarlinux版本3.6.0的rar_static可以使用,但rar和unrar因为libstdc++版本要求高不能使用。
[root@localhost setup]# cat /etc/redhat-release
Red Hat Linux release 7.3 (Valhalla)
[root@localhost setup]# ls -l rarlinux-3.6.0.tar.gz
-rw-r--r--
月 19 08:32 rarlinux-3.6.0.tar.gz
[root@localhost setup]# tar zxf rarlinux-3.6.0.tar.gz
[root@localhost setup]# cd rar
[root@localhost rar]# ls
default.sfx
license.txt
rarfiles.lst
technote.txt
whatsnew.txt
file_id.diz
rar_static
readme.txt
[root@localhost rar]# ./rar
./rar: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
[root@localhost rar]# ./unrar
./unrar: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
[root@localhost rar]# ./rar_static
Copyright (c)
Alexander Roshal
5 Aug 2006
Shareware version
Type RAR -? for help
rar &command& -&switch 1& -&switch N& &archive& &files...&
&@listfiles...& &path_to_extract\&省略输出
[root@localhost rar]#
示例六 rarlinux版本3.0在RH7.3下的安装情况
rarlinux版本3.0可以用于红帽子7.3。
[root@localhost setup]# ls -l rarlinux-3.0.tar.gz
-rw-r--r--
月 19 09:45 rarlinux-3.0.tar.gz
[root@localhost setup]# tar zxf rarlinux-3.0.tar.gz
[root@localhost setup]# cd rar
[root@localhost rar]# ls
default.sfx
license.txt
rar_faq.txt
rar_site.txt
readme.txt
file_id.diz
rarfiles.lst
register.txt
technote.txt
whatsnew.txt
[root@localhost rar]# ./rar
Copyright (c)
Eugene Roshal
14 May 2002
Shareware version
Type RAR -? for help省略输出
[root@localhost rar]#
补充记录:怎样安装rarlinux?()
将安装文件压缩包rarlinux-x.y.tar.gz解压之后,进入rar目录,执行make命令。执行文件将会安装到 /usr/local/bin 下。
[root@liunx0918 tmp]# cd rar
[root@liunx0918 rar]# ls
default.sfx
license.txt
rar_faq.txt
rar_site.txt
readme.txt
file_id.diz
rarfiles.lst
register.txt
technote.txt
whatsnew.txt
[root@liunx0918 rar]# cat Makefile
###################################################################
# Installing RAR executables, configuration files and SFX modules #
# to appropriate directories
###################################################################
PREFIX=/usr/local
cp rar unrar $(PREFIX)/bin
cp rarfiles.lst /etc
cp default.sfx $(PREFIX)/lib
[root@liunx0918 rar]# make
cp rar unrar /usr/local/bin
cp rarfiles.lst /etc
cp default.sfx /usr/local/lib
[root@liunx0918 rar]#
1. 怎样使用unrar将文件解压到指定目录?
【1】WinRAR官方站点
【2】愚人码头
【3】尛样儿
(735.3 KB)
下载次数: 25
(814.3 KB)
下载次数: 50
下载次数: 97
浏览 21531
codingstandards
浏览: 1554621 次
来自: 上海
不错,谢谢!
declare -p var,这个只有在var被赋值的情况下才 ...
博主加油哇!你坚持写,我们坚持看!
说的很有道理
详细.mark下怎么样将两个压缩包打包成一个?_百度知道
怎么样将两个压缩包打包成一个?
两个压缩包本身是一个压缩包,现在我想把这两个压缩包打包.6M的文件,他只好分批传。怎么弄,只是上传者被限制无法一次上传大于4
我有更好的答案
按默认排序
先把两个解压到 两个文件夹
在新建一个文件夹 吧两个文件移到新建的文件夹
再把新建文件夹 压缩
新建一个文件夹,把那两个放进去,然后,压缩文件夹
有的压缩包是连续压缩.解压第一个就行
其他类似问题
25人觉得有用
您可能关注的推广
压缩包的相关知识
为您推荐:
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)
!!=涣巳墙缑媪
安装进不去系统了 卡在三星界面
你他妈动不动搞
i-love-you
垃圾教程!!!
安装后无法重启了(┬_┬)
木子学院 热门推荐zip解压缩软件(Hamster ZIP Archiver)下载 3.0.0.7中文版_免费压缩软件 - pc6下载站}

我要回帖

更多关于 压缩包怎么解压 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信