如何在Linux中解压 rar 文件
发表于:2025-02-23 作者:千家信息网编辑
千家信息网最后更新 2025年02月23日,本篇文章给大家分享的是有关如何在Linux中解压 rar 文件,小编觉得挺实用的,因此分享给大家学习,希望大家阅读完这篇文章后可以有所收获,话不多说,跟着小编一起来看看吧。1. 下载我们进入rarla
千家信息网最后更新 2025年02月23日如何在Linux中解压 rar 文件
本篇文章给大家分享的是有关如何在Linux中解压 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 需要在命令所在的文件夹执行命令,或者把文件夹加入环境变量中。
3. 最后,可以使用 unrar 进行解压, 使用 rar 命令,进行压缩。
~ unrar x [file]
我们 可以直接输入 unrar 查看帮助
rar ./unrar UNRAR 5.60 freeware Copyright (c) 1993-2018 Alexander RoshalUsage: unrar- - <@listfiles...> 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
其他解压缩命令:
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系统
Linux是一种免费使用和自由传播的类UNIX操作系统,是一个基于POSIX的多用户、多任务、支持多线程和多CPU的操作系统,使用Linux能运行主要的Unix工具软件、应用程序和网络协议。
以上就是如何在Linux中解压 rar 文件,小编相信有部分知识点可能是我们日常工作会见到或用到的。希望你能通过这篇文章学到更多知识。更多详情敬请关注行业资讯频道。
文件
命令
文件夹
系统
操作系统
更多
知识
篇文章
实用
自由
任务
变量
就是
工作会
工具
工具软件
应用程序
所在
文章
权限
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
品质有保证的耐盐碱植物数据库
从简网络技术
乐学邦网络技术有限公司
无锡购买计算机网络技术推广
数据库创建索引的原理
数据库的同义词
mysql编辑器创建数据库
宇视服务器登录不了
sql导出全部数据库
软件开发周边岗位
哈尔滨东塔网络安全特训营哪家好
工作招聘 网络安全师
服务器如何读取wincc数据
微信小程序配置服务器
服务器内存超开
建服务器大厅
宝山区数据软件开发质量
齐星网络技术有限公司
中国十大网络技术公司
晋中做app的软件开发
软件开发变更控制
河南服务器机箱云主机
魔兽正式服部落最多的服务器
流放之路永久服务器搬砖可以吗
微信小视频软件开发
基辅服务器
云南管理软件开发费用
数据源 数据库提供者
服务器运维表情包
服务器关不了进程