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. docker镜像push报错2. linux运维 - python远程控制windows如何实现3. javascript - 如何获取未来元素的父元素在页面中所有相同元素中是第几个?4. javascript - 分类编辑保留之前分类名称5. angular.js - 不适用其他构建工具,怎么搭建angular1项目6. 关于Java引用传递的一个困惑?7. 如何分别在Windows下用Winform项模板+C#,在MacOSX下用Cocos Application项目模板+Objective-C实现一个制作游戏的空的黑窗口?8. javascript - canvas 裁剪空白区域9. javascript - 后端传过来的数据格式是这样,如何使用?10. javascript - js判断一个数组是否重复
