在Linux中如何解壓phpvod2.6_utf-8_php5.2.x.rar文件

案例:實際生產環境

系統環境:Centos6.5

提出任務:要在Centos6.5發佈視頻系統,首先要解壓縮 phpvod2.6_utf-8_php5.2.x.rar文件。

整個操作過程如下:

1.下載:從網上下載rarlinux-5.2.0.tar.gz文件,然後上傳LINUX服務器上,或者通過wget  http://www.rarlab.com/rar/rarlinux-5.2.0.tar.gz,直接下載到服務器上。

2.安裝:

[root@sky9896 tools]# tar  zxvf  rarlinux-5.2.0.tar.gz

[root@sky9896 rar]# make

[root@sky9896 rar]# make  install

[root@sky9896 bin]# unrar

unrar: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

[root@sky9896 bin]# rar

rar: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

#以上錯誤是由於缺少libstdc++.so.6庫,通過yum  install  libstdc++.so.6

解決此問題。

[root@sky9896 bin]# yum  install  libstdc++.so.6

已加載插件:fastestmirror

設置安裝進程

Loading mirror speeds from cached hostfile

 * atomic: mirrors.thzhost.com

 * base: mirrors.yun-idc.com

 * extras: mirrors.yun-idc.com

 * updates: mirrors.btte.net

解決依賴關係

--> 執行事務檢查

---> Package libstdc++.i686 0:4.4.7-11.el6 will be 安裝

--> 完成依賴關係計算

依賴關係解決

=======================================================================================================

 軟件包                   架構                版本                           倉庫                 大小

=======================================================================================================

正在安裝:

 libstdc++                i686                4.4.7-11.el6                   base                301 k

事務概要

=======================================================================================================

Install       1 Package(s)

總下載量:301 k

Installed size: 908 k

確定嗎?[y/N]y

下載軟件包:

libstdc++-4.4.7-11.el6.i686.rpm                                                 | 301 kB     00:00    

運行 rpm_check_debug

執行事務測試

事務測試成功

執行事務

正在安裝:libstdc++-4.4.7-11.el6.i686     1/1                                                   

Verifying  : libstdc++-4.4.7-11.el6.i686   1/1                                          

已安裝:

libstdc++.i686 0:4.4.7-11.el6

完畢!

到此,rarunrar命令都可以使用了。

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章