Ale*_*lex 15 installation apt compression software-sources 12.04
我需要包裹rar
。但是每当我尝试安装它时都会收到此错误:
Reading package Lists... Done
Building dependency tree
Reading state information... Done
Package rar ist not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available form another source
E: package 'rar' has no installation candidate.
Run Code Online (Sandbox Code Playgroud)
我必须做什么才能得到rar
?
Eli*_*gan 16
rar
在multiverse 组件中提供,因此您必须启用该存储库。为此,请通过以下三种方式中的任意一种打开“软件源”窗口:
software-properties-gtk
。(software-properties-kde
如果这是 Kubuntu 系统,请改用。)在“软件源”窗口的“ Ubuntu 软件”选项卡中,**可从 Internet 下载* 下的复选框之一是:
选中那个框。系统可能会提示您输入密码以进行更改。完成此操作并选中该框后,单击“关闭”关闭“软件源”窗口。现在再次尝试安装。
(如果它仍然不起作用并且您正在从终端安装apt-get
,请尝试运行apt-get update
然后再次尝试安装。)
为了找出您可能无法安装的原因rar
,我做的第一件事就是去packages.ubuntu.com
搜索它。
搜索rar
在所有支持版本(也可以搜索一个特定版本)。
结果显示它位于多元宇宙组件中。
小智 14
使用以下命令安装,
sudo apt-get install unrar-free
包rar
存在于多元宇宙:http : //packages.ubuntu.com/quantal/rar
Multiverse 是一个非免费的存储库,所以...确保您启用它/已启用它。
apt-cache policy rar
告诉你在哪里可以找到它:
$ apt-cache 策略 rar .rar: 已安装:(无) 候选人:1:3.7.1-1 版本表: 1:3.7.1-1 0 500 个 http://nl.archive.ubuntu.com hardy/multiverse 包
归档时间: |
|
查看次数: |
38690 次 |
最近记录: |