博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【Vegas原创】Linux下unrar安装与配置
阅读量:7050 次
发布时间:2019-06-28

本文共 4589 字,大约阅读时间需要 15 分钟。

1,先确认服务器linux版本:

[root@IDC-D-831 www]# cat /etc/redhat-releaseRed Hat Enterprise Linux AS release 4 (Nahant Update 8)

 

2,打开unrar下载官网,确认自己需要的版本:  

 

3,wget方法下载rpm包

[root@IDC-D-831 www]# wget  http://pkgs.repoforge.org/unrar/unrar-4.1.4-1.el4.rf.i386.rpm--10:14:30--  http://pkgs.repoforge.org/unrar/unrar-4.1.4-1.el4.rf.i386.rpm           => `unrar-4.1.4-1.el4.rf.i386.rpm'Resolving pkgs.repoforge.org... 78.46.17.228Connecting to pkgs.repoforge.org|78.46.17.228|:80... connected.HTTP request sent, awaiting response... 302 FoundLocation: http://rpmforge.sw.be/redhat/el4/en/i386/rpmforge/RPMS/unrar-4.1.4-1.el4.rf.i386.rpm [following]--10:14:31--  http://rpmforge.sw.be/redhat/el4/en/i386/rpmforge/RPMS/unrar-4.1.4-1.el4.rf.i386.rpm           => `unrar-4.1.4-1.el4.rf.i386.rpm'Resolving rpmforge.sw.be... 78.46.17.228Connecting to rpmforge.sw.be|78.46.17.228|:80... connected.HTTP request sent, awaiting response... 301 Moved PermanentlyLocation: http://tree.repoforge.org/redhat/el4/en/i386/rpmforge/RPMS/unrar-4.1.4-1.el4.rf.i386.rpm [following]--10:14:32--  http://tree.repoforge.org/redhat/el4/en/i386/rpmforge/RPMS/unrar-4.1.4-1.el4.rf.i386.rpm           => `unrar-4.1.4-1.el4.rf.i386.rpm'Resolving tree.repoforge.org... 78.46.17.228Connecting to tree.repoforge.org|78.46.17.228|:80... connected.HTTP request sent, awaiting response... 301 Moved PermanentlyLocation: http://apt.sw.be/redhat/el4/en/i386/rpmforge/RPMS/unrar-4.1.4-1.el4.rf.i386.rpm [following]--10:14:33--  http://apt.sw.be/redhat/el4/en/i386/rpmforge/RPMS/unrar-4.1.4-1.el4.rf.i386.rpm           => `unrar-4.1.4-1.el4.rf.i386.rpm'Resolving apt.sw.be... 193.1.193.67Connecting to apt.sw.be|193.1.193.67|:80... connected.HTTP request sent, awaiting response... 200 OKLength: 114,693 (112K) [application/x-redhat-package-manager]100%[=================================================================================================================>] 114,693       56.73K/s             10:14:36 (56.63 KB/s) - `unrar-4.1.4-1.el4.rf.i386.rpm' saved [114693/114693]

  4,rpm安装

[root@IDC-D-831 www]# rpm -Uvh unrar-4.1.4-1.el4.rf.i386.rpmwarning: unrar-4.1.4-1.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6Preparing...                ########################################### [100%]   1:unrar                  ########################################### [100%]

  5,unrar测试

[root@IDC-D-831 www]# unrarUNRAR 4.10 freeware      Copyright (c) 1993-2012 Alexander RoshalUsage:     unrar  - -                 <@listfiles...> 
e Extract files to current directory l[t,b] List archive [technical, bare] p Print file to stdout t Test archive files v[t,b] Verbosely list archive [technical,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 Include only specified file n@ Read file names to include from stdin n@ Include files listed in specified list file o[+|-] Set the overwrite mode or Rename files automatically ow Save or restore file owner and group p[password] Set password p- Do not query password r Recurse subdirectories 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
[N] 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

转载地址:http://wqdol.baihongyu.com/

你可能感兴趣的文章
生成器函数进阶
查看>>
spring中InitializingBean接口使用理解(转)
查看>>
js作用域和作用域链
查看>>
NX签名//NXOpen VB.Net / C# Sign
查看>>
Mac下安装nginx
查看>>
Python菜鸟之路:Django 路由补充1:FBV和CBV - 补充2:url默认参数
查看>>
【转】生活感悟
查看>>
smarty练习: 设置试题及打印试卷
查看>>
maven 项目打包配置(build节点)
查看>>
保存指定品质的图片
查看>>
多目标跟踪baseline methods
查看>>
关于QT_Creator不能在线调试问题
查看>>
六、python小功能记录——递归删除bin和obj内文件
查看>>
阅读《移山之道》及讲义感想
查看>>
python进阶-面向对象编程五:类的内置方法
查看>>
JAVA入门到精通-第52讲-面试题讲评
查看>>
05-spark streaming & kafka
查看>>
python杂记
查看>>
cd 简化命令
查看>>
LeetCode--205--同构字符串
查看>>