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. dockerfile - [docker build image失败- npm install]2. docker gitlab 如何git clone?3. docker-compose中volumes的问题4. boot2docker无法启动5. docker网络端口映射,没有方便点的操作方法么?6. 关docker hub上有些镜像的tag被标记““This image has vulnerabilities””7. dockerfile - 我用docker build的时候出现下边问题 麻烦帮我看一下8. docker api 开发的端口怎么获取?9. docker不显示端口映射呢?10. docker images显示的镜像过多,狗眼被亮瞎了,怎么办?
![dockerfile - [docker build image失败- npm install]](http://www.haobala.com/attached/image/news/202311/1028105a80.png)
网公网安备