1,下载软件。我下载软件的名称是:rarlinux-3.6.b6.tar.gz
2,解压:
[root@tonykorn97 linux tools]# ls
firefox-1.5.0.4.tar.gz nessus rarlinux-3.6.b6.tar.gz vnc
lumaqq_2006M2-win32_x86_no_jre_PConline.zip openssl-0.9.7a-5.1.src.rpm rdesktop-1.3.0-1jdl.i386.rpm
[root@tonykorn97 linux tools]# gzip -d rarlinux-3.6.b6.tar.gz
[root@tonykorn97 linux tools]# ls
firefox-1.5.0.4.tar.gz nessus rarlinux-3.6.b6.tar vnc
lumaqq_2006M2-win32_x86_no_jre_PConline.zip openssl-0.9.7a-5.1.src.rpm rdesktop-1.3.0-1jdl.i386.rpm
[root@tonykorn97 linux tools]# tar -xvf rarlinux-3.6.b6.tar
rar/
rar/file_id.diz
rar/license.txt
rar/Makefile
rar/order.htm
rar/rarfiles.lst
rar/rar.txt
rar/readme.txt
rar/technote.txt
rar/whatsnew.txt
rar/rar
rar/rar_static
rar/unrar
rar/default.sfx
[root@tonykorn97 linux tools]# ls
firefox-1.5.0.4.tar.gz nessus rar rdesktop-1.3.0-1jdl.i386.rpm
lumaqq_2006M2-win32_x86_no_jre_PConline.zip openssl-0.9.7a-5.1.src.rpm rarlinux-3.6.b6.tar vnc
[root@tonykorn97 linux tools]#3,编译
[root@tonykorn97 rar]# make
mkdir -p /usr/local/bin
mkdir -p /usr/local/lib
cp rar unrar /usr/local/bin
cp rarfiles.lst /etc
cp default.sfx /usr/local/lib
4,使用
[root@tonykorn97 ~]# ls
anaconda-ks.cfg Desktop install.log install.log.syslog rar
[root@tonykorn97 ~]# rar a 1 install.log
RAR 3.60 beta 6 Copyright (c) 1993-2006 Alexander Roshal 3 Jul 2006
Shareware version Type RAR -? for help
Evaluation copy. Please register.
Creating archive 1.rar
Adding install.log OK
Done
[root@tonykorn97 ~]# ls
1.rar anaconda-ks.cfg Desktop install.log install.log.syslog rar
[root@tonykorn97 ~]# unrar e 1.rar
UNRAR 3.60 beta 6 freeware Copyright (c) 1993-2006 Alexander Roshal
Extracting from 1.rar
Extracting install.log OK
All OK
[root@tonykorn97 ~]#
linux下安装rar指南
转载请注明出处:服务器评测 » linux下安装rar指南