背景:ubuntu 16.04
安装rar/unrar时提示错误:
sudo apt-get install unrarReading package Lists... DoneBuilding dependency tree Reading state information... DonePackage unrar is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, oris only available from another sourceE: Package 'unrar' has no installation candIDate
解决方法:
打开https://www.rarlab.com/download.htm
@H_301_10@下载RAR 5.71 beta 2 for linux(根据系统选取32位/64位下载)
如何判断系统是32位/64位:
root# getconf LONG_BIT64 # 64位系统
安装:
tar -xzpvf rarlinux-x64-5.7.1b2.tar.gzcd rarmake
输入make会提示:
root:/home/work/rar# makemkdir -p /usr/local/binmkdir -p /usr/local/libcp rar unrar /usr/local/bincp rarfiles.lst /etccp default.sfx /usr/local/lib
以上是内存溢出为你收集整理的ubuntu 安装rar/unrar 提示错误E: Package 'unrar' has no installation candidate解决方法全部内容,希望文章能够帮你解决ubuntu 安装rar/unrar 提示错误E: Package 'unrar' has no installation candidate解决方法所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)