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. mysql - 查询 修改数据库优化问题吧2. paramiko - Python tempfile生成的文件能不能拷贝到远程服务器?3. python - 通过正则提取出来的ip,怎么命名4. mysql - oracle物化视图和临时表的区别是什么?5. 网页爬虫 - Python爬虫返回状态码与实际情况不符?6. 为什么微信内置浏览器用$_COOKIE取不到值?7. URL访问有问题啊8. python - 能通过CAN控制一部普通的家用轿车吗?9. MYSQL代码执行错误:FUNCTION any_value does not exist10. node.js - nodejs开发中常用的连接mysql的库