ubuntu - linux unrar命令失效

 李玲玉1990020292 发布于 2022-10-26 11:01


更新

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

3 个回答
  • 可以贴出你的编译参数吗?

    我身边没有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.
    2022-10-27 00:50 回答
    1. unrar不一定在/usr/local/bin目录下

    2. 可以使用find命令来确认unrar在那个目录下

    3. 如果找到则把该目录加到PATH变量中即可

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

    2022-10-27 00:50 回答
  • 建议用file命令看看文件是32位的还是64位的,一般32位的程序放到64位系统上面执行会出这个问题,有可能你编译出来的程序是32位的。

    2022-10-27 00:50 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有