linux下安装rar解压及软件下载及使用

2024-03-23 15:38

本文主要是介绍linux下安装rar解压及软件下载及使用,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

/lib/libc.so.6: version `GLIBC_2.7′ not found (required by rar)
2010-04-14 12:40

Linux下RAR安装及相关命令
下载安装包:
http://www.rarlab.com/download.htm

http://www.rarsoft.com/download.htm

使用命令进行安装:
#tar -zxvf rarlinux-3.9.3.tar.gz
#cd rar
#make
#make install

运行 rar –help 可以看到帮助信息,如果出现下列信息:
#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)
则执行:
#cp -f rar_static /usr/local/bin/rar
这样就可以使用rar 命令了。
RAR 命令与winrar 命令基本一致,只是在 windows 下使用 winrar 命令,在 liunx 下使用 rar 命令。

//以上是别人的 http://swvip.iteye.com/blog/717672

 

rar a a.tt aa.rar		//表示把a.tt 压缩成aa.rar这个文件中;所有没有就创建
rar l aa.rar			//查看aa.rar这个文件中的所有文件
rar u aa.rar b.txt		//表示把b.txt 压缩到(更新)aa.rar这个文件中;
rar e aa.rar aa			//表示把a.rar 解压缩到aa这个文件夹中;-------------------------------------------------
系统a             Add files to archivec             Add archive commentcf            Add files commentch            Change archive parameterscw            Write archive comment to filed             Delete files from archivee             Extract files to current directoryf             Freshen files in archivei[par]=<str>  Find string in archivesk             Lock archivel[t,b]        List archive [technical, bare]m[f]          Move to archive [files only]p             Print file to stdoutr             Repair archiverc            Reconstruct missing volumesrn            Rename archived filesrr[N]         Add data recovery recordrv[N]         Create recovery volumess[name|-]     Convert archive to or from SFXt             Test archive filesu             Update files in archivev[t,b]        Verbosely list archive [technical,bare]x             Extract files with full path<Switches>-             Stop switches scanningad            Append archive name to destination pathag[format]    Generate archive name using the current dateai            Ignore file attributesap<path>      Set path inside archiveas            Synchronize archive contentsav            Put authenticity verification (registered versions only)av-           Disable authenticity verification checkc-            Disable comments showcfg-          Disable read configurationcl            Convert names to lower casecu            Convert names to upper casedf            Delete files after archivingdh            Open shared filesds            Disable name sort for solid archivedw            Wipe files after archivinge[+]<attr>    Set file exclude and include attributesed            Do not add empty directoriesen            Do not put 'end of archive' blockep            Exclude paths from namesep1           Exclude base directory from namesep3           Expand paths to full including the drive letterf             Freshen fileshp[password]  Encrypt both file data and headersid[c,d,p,q]   Disable messagesierr          Send all messages to stderrilog[name]    Log errors to file (registered versions only)inul          Disable all messagesisnd          Enable soundk             Lock archivekb            Keep broken extracted filesm<0..5>       Set compression level (0-store...3-default...5-maximal)mc<par>       Set advanced compression parametersmd<size>      Dictionary size in KB (64,128,256,512,1024,2048,4096 or A-G)ms[ext;ext]   Specify file types to storen<file>       Include only specified filen@            Read file names to include from stdinn@<list>      Include files listed in specified list fileo[+|-]        Set the overwrite modeol            Save symbolic links as the link instead of the fileor            Rename files automaticallyow            Save or restore file owner and groupp[password]   Set passwordp-            Do not query passwordr             Recurse subdirectoriesr-            Disable recursionr0            Recurse subdirectories for wildcard names onlyrr[N]         Add data recovery recordrv[N]         Create recovery volumess[<N>,v[-],e] Create solid archives-            Disable solid archivingsc<chr>[obj]  Specify the character setsfx[name]     Create SFX archivesi[name]      Read data from standard input (stdin)sl<size>      Process files with size less than specifiedsm<size>      Process files with size more than specifiedt             Test files after archivingta<date>      Process files modified after <date> in YYYYMMDDHHMMSS formattb<date>      Process files modified before <date> in YYYYMMDDHHMMSS formattk            Keep original archive timetl            Set archive time to latest filetn<time>      Process files newer than <time>to<time>      Process files older than <time>ts<m,c,a>[N]  Save or restore file time (modification, creation, access)u             Update filesv             Create volumes with size autodetection or list all volumesv<size>[k,b]  Create volumes with size=<size>*1000 [*1024, *1]ver[n]        File version controlvn            Use the old style volume naming schemevp            Pause before each volumew<path>       Assign work directoryx<file>       Exclude specified filex@            Read file names to exclude from stdinx@<list>      Exclude files listed in specified list filey             Assume Yes on all queriesz[file]       Read archive comment from file
 

 

这篇关于linux下安装rar解压及软件下载及使用的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/838786

相关文章

Conda与Python venv虚拟环境的区别与使用方法详解

《Conda与Pythonvenv虚拟环境的区别与使用方法详解》随着Python社区的成长,虚拟环境的概念和技术也在不断发展,:本文主要介绍Conda与Pythonvenv虚拟环境的区别与使用... 目录前言一、Conda 与 python venv 的核心区别1. Conda 的特点2. Python v

Spring Boot中WebSocket常用使用方法详解

《SpringBoot中WebSocket常用使用方法详解》本文从WebSocket的基础概念出发,详细介绍了SpringBoot集成WebSocket的步骤,并重点讲解了常用的使用方法,包括简单消... 目录一、WebSocket基础概念1.1 什么是WebSocket1.2 WebSocket与HTTP

C#中Guid类使用小结

《C#中Guid类使用小结》本文主要介绍了C#中Guid类用于生成和操作128位的唯一标识符,用于数据库主键及分布式系统,支持通过NewGuid、Parse等方法生成,感兴趣的可以了解一下... 目录前言一、什么是 Guid二、生成 Guid1. 使用 Guid.NewGuid() 方法2. 从字符串创建

Python使用python-can实现合并BLF文件

《Python使用python-can实现合并BLF文件》python-can库是Python生态中专注于CAN总线通信与数据处理的强大工具,本文将使用python-can为BLF文件合并提供高效灵活... 目录一、python-can 库:CAN 数据处理的利器二、BLF 文件合并核心代码解析1. 基础合

Python使用OpenCV实现获取视频时长的小工具

《Python使用OpenCV实现获取视频时长的小工具》在处理视频数据时,获取视频的时长是一项常见且基础的需求,本文将详细介绍如何使用Python和OpenCV获取视频时长,并对每一行代码进行深入解析... 目录一、代码实现二、代码解析1. 导入 OpenCV 库2. 定义获取视频时长的函数3. 打开视频文

linux hostname设置全过程

《linuxhostname设置全过程》:本文主要介绍linuxhostname设置全过程,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录查询hostname设置步骤其它相关点hostid/etc/hostsEDChina编程A工具license破解注意事项总结以RHE

java如何解压zip压缩包

《java如何解压zip压缩包》:本文主要介绍java如何解压zip压缩包问题,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录Java解压zip压缩包实例代码结果如下总结java解压zip压缩包坐在旁边的小伙伴问我怎么用 java 将服务器上的压缩文件解压出来,

Spring IoC 容器的使用详解(最新整理)

《SpringIoC容器的使用详解(最新整理)》文章介绍了Spring框架中的应用分层思想与IoC容器原理,通过分层解耦业务逻辑、数据访问等模块,IoC容器利用@Component注解管理Bean... 目录1. 应用分层2. IoC 的介绍3. IoC 容器的使用3.1. bean 的存储3.2. 方法注

Python内置函数之classmethod函数使用详解

《Python内置函数之classmethod函数使用详解》:本文主要介绍Python内置函数之classmethod函数使用方式,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地... 目录1. 类方法定义与基本语法2. 类方法 vs 实例方法 vs 静态方法3. 核心特性与用法(1编程客

Linux中压缩、网络传输与系统监控工具的使用完整指南

《Linux中压缩、网络传输与系统监控工具的使用完整指南》在Linux系统管理中,压缩与传输工具是数据备份和远程协作的桥梁,而系统监控工具则是保障服务器稳定运行的眼睛,下面小编就来和大家详细介绍一下它... 目录引言一、压缩与解压:数据存储与传输的优化核心1. zip/unzip:通用压缩格式的便捷操作2.