Linux中怎么解压rar文件
发表于:2024-09-22 作者:千家信息网编辑
千家信息网最后更新 2024年09月22日,这篇文章主要讲解了"Linux中怎么解压rar文件",文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习"Linux中怎么解压rar文件"吧!RAR是一种专利文
千家信息网最后更新 2024年09月22日Linux中怎么解压rar文件
这篇文章主要讲解了"Linux中怎么解压rar文件",文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习"Linux中怎么解压rar文件"吧!
RAR是一种专利文件格式,用于数据压缩与归档打包,其主要优点是可以把文件压缩目标分割到多个文件,并且很容易从这样的分割的压缩文件解压出源文件。
1. 下载
我们进入rarlab网站,进行下载 rar for linux x64
2. 使用 tar 命令 解压 (*.tar 用 tar –xvf )
➜ Downloads tar -xvf rarlinux-x64-5.6.0.tar.gz
3. 进入文件夹make (需要 管理员权限)
➜ rar cat makefile#################################################################### Installing RAR executables, configuration files and SFX modules ## to appropriate directories ####################################################################PREFIX=/usr/localinstall: mkdir -p $(PREFIX)/bin mkdir -p $(PREFIX)/lib cp rar unrar $(PREFIX)/bin cp rarfiles.lst /etc cp default.sfx $(PREFIX)/lib%
如果不进行make 需要在命令所在的文件夹执行命令,或者把文件夹加入环境变量中。
4. 最后,可以使用 unrar 进行解压, 使用 rar 命令,进行压缩。
➜ ~ unrar x [file]
我们 可以直接输入 unrar 查看帮助
➜ rar ./unrarUNRAR 5.60 freeware Copyright (c) 1993-2018 Alexander RoshalUsage: unrar - - e Extract files without archived paths l[t[a],b] List archive contents [technical[all], bare] p Print file to stdout t Test archive files v[t[a],b] Verbosely list archive contents [technical[all],bare] x Extract files with full path - Stop switches scanning @[+] Disable [enable] file lists ad Append archive name to destination path ag[format] Generate archive name using the current date ai Ignore file attributes ap Set path inside archive c- Disable comments show cfg- Disable read configuration cl Convert names to lower case cu Convert names to upper case dh Open shared files ep Exclude paths from names ep3 Expand paths to full including the drive letter f Freshen files id[c,d,p,q] Disable messages ierr Send all messages to stderr inul Disable all messages kb Keep broken extracted files n Additionally filter included files n@ Read additional filter masks from stdin n@ Read additional filter masks from list file o[+|-] Set the overwrite mode ol[a] Process symbolic links as the link [absolute paths] or Rename files automatically ow Save or restore file owner and group p[password] Set password p- Do not query password r Recurse subdirectories sc[obj] Specify the character set sl Process files with size less than specified sm Process files with size more than specified ta Process files modified after in YYYYMMDDHHMMSS format tb Process files modified before in YYYYMMDDHHMMSS format tn Process files newer than to Process files older than ts[m|c|a] Save or restore file time (modification, creation, access) u Update files v List all volumes ver[n] File version control vp Pause before each volume x Exclude specified file x@ Read file names to exclude from stdin x@ Exclude files listed in specified list file y Assume Yes on all queries
其他解压缩命令:
1、*.tar 用 tar –xvf 解压2、*.gz 用 gzip -d或者gunzip 解压3、*.tar.gz和*.tgz 用 tar –xzf 解压4、*.bz2 用 bzip2 -d或者用bunzip2 解压5、*.tar.bz2用tar –xjf 解压6、*.Z 用 uncompress 解压7、*.tar.Z 用tar –xZf 解压8、*.rar 用 unrar e解压9、*.zip 用 unzip 解压
感谢各位的阅读,以上就是"Linux中怎么解压rar文件"的内容了,经过本文的学习后,相信大家对Linux中怎么解压rar文件这一问题有了更深刻的体会,具体使用情况还需要大家实践验证。这里是,小编将为大家推送更多相关知识点的文章,欢迎关注!
文件
命令
文件夹
学习
内容
专利
优点
变量
多个
就是
思路
情况
所在
数据
文章
更多
权限
格式
源文件
环境
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
qt软件开发前景
python 商城服务器源码
互联网科技园总部经济体
精通c 数据库开发
东莞明歆计算机软件开发
服务器对环境的要求
计算机网络技术就业前景好吗
肖哥网络技术企业
网络技术大拿
因机房安全不足服务器被黑
保质保量的服务器租用
服务器解析
数据库为什么不能保存文字
物理服务器怎么做双网卡聚合
数据库的纵向扩展
代理ip软件开发
适用于51单片机的数据库
如何下载一个省的气象数据库
上海硕辉网络技术有限公司
ipad软件开发者
myeclipse连接数据库
东莞明歆计算机软件开发
国际软件开发行业
树莓派当打印机服务器
网络技术重点笔记
怎样编写数据库
微信调用网站数据库
西安电子科技网络安全创新中心
佛山嵌入式软件开发学费
网络安全技术可分为哪四类