首页  >  问答  >  正文

ubuntu - linux unrar命令失效


更新

我刚才有重新make make install 可是还是这样

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

全部回复(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
  • 取消回复