Linux實現對rar壓縮檔的解壓

來源:互聯網
上載者:User

Linux實現對rar壓縮檔的解壓

作業系統: CentOS 5.4 final

所需軟體: rarlinux-3.9.3.tar.gz

安裝步驟:

去 http://www.rarsoft.com/download.htm 下載 RAR 3.93 for Linux,
是 http://www.rarsoft.com/rar_CN/rarlinux-3.9.3.tar.gz

[root@centos opt]# tar zxvf rarlinux-3.9.1.tar.gz
rar/
rar/readme.txt
rar/default.sfx
rar/whatsnew.txt
rar/license.txt
rar/order.htm
rar/rar
rar/unrar
rar/rar_static
rar/technote.txt
rar/rarfiles.lst
rar/makefile
rar/rar.txt

進入目錄安裝
[root@centos soft]# cd rar
[root@centos 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
安裝成功

執行rar命令,出現如下錯誤
[root@localhost rar]# rar
rar: /lib/libc.so.6: version `GLIBC_2.7' not found (required by rar)

解決辦法
[root@localhost rar]# cp rar_static /usr/local/bin/rar
cp:是否覆蓋“/usr/local/bin/rar”? yes

執行rar命令成功,並且在圖形介面上也可直接解壓rar壓縮檔

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.