ubuntu - linux unrar命令失效
問題描述
更新
我剛才有重新make make install 可是還是這樣
問題解答
回答1:建議用file命令看看文件是32位的還是64位的,一般32位的程序放到64位系統上面執行會出這個問題,有可能你編譯出來的程序是32位的。
回答2:unrar不一定在/usr/local/bin目錄下
可以使用find命令來確認unrar在那個目錄下
如果找到則把該目錄加到PATH變量中即可
/usr/local/bin下的是unrar*
回答3:可以貼出你的編譯參數嗎?
我身邊沒有Ubuntu,我在centos上找到unrar的替代品unar
[root@web ~]# yum info unarLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfileAvailable PackagesName: unarArch: x86_64Version : 1.10.1Release : 1.el7Size: 1.9 MRepo: epel-homeSummary : Multi-format extractorURL : http://unarchiver.c3.cx/commandlineLicense : LGPLv2+Description : The command-line utilities lsar and unar are capable of listing and extracting : files respectively in several formats including RARv3. unar can serve as a free : and open source replacement of unrar.
相關文章:
1. javascript - 移動端自適應2. python3.x - c++調用python33. android - 課程表點擊后浮動后邊透明可以左右滑動的界面是什么?4. java - 根據月份查詢多個表里的內容怎么實現好?5. atom開始輸入!然后按tab只有空格出現沒有html格式出現6. javascript - 在 model里定義的 引用表模型時,model為undefined。7. css3 - 沒明白盒子的height隨width的變化這段css是怎樣實現的?8. css3 - 這個右下角折角用css怎么畫出來?9. php工具中的mysql還是5.1以下的,請問如何才能升級到5.1以上?10. apache - 想把之前寫的單機版 windows 軟件改成網絡版,讓每個用戶可以注冊并登錄。類似 qq 的登陸,怎么架設服務器呢?
