首頁  >  問答  >  主體

ubuntu - linux unrar指令失效


更新

我剛剛有重新make make install 可是還是這樣

过去多啦不再A梦过去多啦不再A梦2734 天前906

全部回覆(3)我來回復

  • 阿神

    阿神2017-04-24 16:00:53

    建議用file指令看看檔案是32位元的還是64位元的,一般32位元的程式放到64位元系統上面執行會出這個問題,有可能你編譯出來的程式是32位元的。

    回覆
    0
  • PHP中文网

    PHP中文网2017-04-24 16:00:53

    1. unrar不一定在/usr/local/bin目錄下

    2. 可以使用find指令來確認unrar在那個目錄下

    3. 如果找到則把目錄加到PATH變數中即可

    4. /usr/local/bin下的是unrar*

    回覆
    0
  • 怪我咯

    怪我咯2017-04-24 16:00:53

    可以貼出你的編譯參數嗎?

    我身邊沒有Ubuntu,我在centos上找到unrar的替代品unar

    [root@web ~]# yum info unar
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    Available Packages
    Name        : unar
    Arch        : x86_64
    Version     : 1.10.1
    Release     : 1.el7
    Size        : 1.9 M
    Repo        : epel-home
    Summary     : Multi-format extractor
    URL         : http://unarchiver.c3.cx/commandline
    License     : 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.

    回覆
    0
  • 取消回覆