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

相关文章

linux生产者,消费者问题

pthread_cond_wait() :用于阻塞当前线程,等待别的线程使用pthread_cond_signal()或pthread_cond_broadcast来唤醒它。 pthread_cond_wait() 必须与pthread_mutex 配套使用。pthread_cond_wait()函数一进入wait状态就会自动release mutex。当其他线程通过pthread

C语言中联合体union的使用

本文编辑整理自: http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=179471 一、前言 “联合体”(union)与“结构体”(struct)有一些相似之处。但两者有本质上的不同。在结构体中,各成员有各自的内存空间, 一个结构变量的总长度是各成员长度之和。而在“联合”中,各成员共享一段内存空间, 一个联合变量

ESP32 esp-idf esp-adf环境安装及.a库创建与编译

简介 ESP32 功能丰富的 Wi-Fi & 蓝牙 MCU, 适用于多样的物联网应用。使用freertos操作系统。 ESP-IDF 官方物联网开发框架。 ESP-ADF 官方音频开发框架。 文档参照 https://espressif-docs.readthedocs-hosted.com/projects/esp-adf/zh-cn/latest/get-started/index

Linux 安装、配置Tomcat 的HTTPS

Linux 安装 、配置Tomcat的HTTPS 安装Tomcat 这里选择的是 tomcat 10.X ,需要Java 11及更高版本 Binary Distributions ->Core->选择 tar.gz包 下载、上传到内网服务器 /opt 目录tar -xzf 解压将解压的根目录改名为 tomat-10 并移动到 /opt 下, 形成个人习惯的路径 /opt/tomcat-10

Tolua使用笔记(上)

目录   1.准备工作 2.运行例子 01.HelloWorld:在C#中,创建和销毁Lua虚拟机 和 简单调用。 02.ScriptsFromFile:在C#中,对一个lua文件的执行调用 03.CallLuaFunction:在C#中,对lua函数的操作 04.AccessingLuaVariables:在C#中,对lua变量的操作 05.LuaCoroutine:在Lua中,

RedHat运维-Linux文本操作基础-AWK进阶

你不用整理,跟着敲一遍,有个印象,然后把它保存到本地,以后要用再去看,如果有了新东西,你自个再添加。这是我参考牛客上的shell编程专项题,只不过换成了问答的方式而已。不用背,就算是我自己亲自敲,我现在好多也记不住。 1. 输出nowcoder.txt文件第5行的内容 2. 输出nowcoder.txt文件第6行的内容 3. 输出nowcoder.txt文件第7行的内容 4. 输出nowcode

【Linux进阶】UNIX体系结构分解——操作系统,内核,shell

1.什么是操作系统? 从严格意义上说,可将操作系统定义为一种软件,它控制计算机硬件资源,提供程序运行环境。我们通常将这种软件称为内核(kerel),因为它相对较小,而且位于环境的核心。  从广义上说,操作系统包括了内核和一些其他软件,这些软件使得计算机能够发挥作用,并使计算机具有自己的特生。这里所说的其他软件包括系统实用程序(system utility)、应用程序、shell以及公用函数库等

Vim使用基础篇

本文内容大部分来自 vimtutor,自带的教程的总结。在终端输入vimtutor 即可进入教程。 先总结一下,然后再分别介绍正常模式,插入模式,和可视模式三种模式下的命令。 目录 看完以后的汇总 1.正常模式(Normal模式) 1.移动光标 2.删除 3.【:】输入符 4.撤销 5.替换 6.重复命令【. ; ,】 7.复制粘贴 8.缩进 2.插入模式 INSERT

VMware9.0详细安装

双击VMware-workstation-full-9.0.0-812388.exe文件: 直接点Next; 这里,我选择了Typical(标准安装)。 因为服务器上只要C盘,所以我选择安装在C盘下的vmware文件夹下面,然后点击Next; 这里我把√取消了,每次启动不检查更新。然后Next; 点击Next; 创建快捷方式等,点击Next; 继续Cont

Lipowerline5.0 雷达电力应用软件下载使用

1.配网数据处理分析 针对配网线路点云数据,优化了分类算法,支持杆塔、导线、交跨线、建筑物、地面点和其他线路的自动分类;一键生成危险点报告和交跨报告;还能生成点云数据采集航线和自主巡检航线。 获取软件安装包联系邮箱:2895356150@qq.com,资源源于网络,本介绍用于学习使用,如有侵权请您联系删除! 2.新增快速版,简洁易上手 支持快速版和专业版切换使用,快速版界面简洁,保留主