ubuntu - linux unrar命令失效
問題描述
更新
我剛才有重新make make install 可是還是這樣
問題解答
回答1:建議用file命令看看文件是32位的還是64位的,一般32位的程序放到64位系統(tǒng)上面執(zhí)行會出這個問題,有可能你編譯出來的程序是32位的。
回答2:unrar不一定在/usr/local/bin目錄下
可以使用find命令來確認unrar在那個目錄下
如果找到則把該目錄加到PATH變量中即可
/usr/local/bin下的是unrar*
回答3:可以貼出你的編譯參數(shù)嗎?
我身邊沒有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.
相關(guān)文章:
1. php - 第三方支付平臺在很短時間內(nèi)多次異步通知,訂單多次確認收款2. html5 - h5寫的app用的webview,用手機瀏覽器打開不顯示?3. mysql - 一個表和多個表是多對多的關(guān)系,該怎么設(shè)計4. Mysql && Redis 并發(fā)問題5. javascript - webpack --hot 熱重載無效的問題6. javascript - 百度echarts series數(shù)據(jù)更新問題7. css - 求推薦幾款好用的移動端頁面布局調(diào)試工具呢?8. mysql新建字段時 timestamp NOT NULL DEFAULT ’0000-00-00 00:00:00’ 報錯9. css3 - css before 中文亂碼?10. javascript - node服務(wù)端渲染的困惑
