我刚刚安装了 Kubuntu,想看看它到底是什么。我完全是个新手,尝试安装一个名为 uGet 的程序。
我设法下载了它,但不知道从那里去哪里。我一直在阅读论坛并尝试过 Discover,但 uGet 在那里不可用,所以我在 bash 中尝试了一些方法,但没有成功(请参见下文)。非常感谢任何帮助。
nleric@nleric-SATELLITE-L50-C:~$ sudo apt-get install synaptic
[sudo] password for nleric:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
nleric@nleric-SATELLITE-L50-C:~$ sudo apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package synaptic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'synaptic' has no installation candidate
nleric@nleric-SATELLITE-L50-C:~$ sudo apt-get install uGet
[sudo] password for nleric:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package uGet
nleric@nleric-SATELLITE-L50-C:~$ sudo apt-get install software-center
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package software-center is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'software-center' has no installation candidate
答案1
uGet 上确实有说明网站。
您需要运行以下命令来添加 PPA,然后安装它。
sudo add-apt-repository ppa:plushuang-tw/uget-stable
sudo apt update
sudo apt install uget
仅供参考,我认为我从未见过大写字母的软件包名称,因此当您通过终端安装软件包时,请使用小写字母。我还认为软件包名称区分大小写,但我对此不太确定。
如果您想要 Ubuntu 软件中心,您需要运行以下命令之一。
如果你使用的是 Ubuntu 15.10 或更低版本,请运行:
sudo apt-get install software-center
由于您在尝试安装时遇到错误,我假设您使用的是 16.04
16.04 (及以上):
sudo apt-get install gnome-software packagekit
答案2
据我所知,至少 Synaptics 是宇宙套件的一部分。
所以你需要激活宇宙:
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install synaptic
我希望这在 Kubuntu 上也能用