无法安装 Midnight Commander

无法安装 Midnight Commander

如何在 Ubuntu 18.04 中安装“Double Commander”或“Midnight Commander”文件管理器?

我尝试安装 Midnight Commander,sudo apt-get install mc

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mc 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 'mc' has no installation candidate

Ubuntu 18.04 有一些可用的文件管理器吗?

答案1

Midnight Commander 和 Double Commander 已经在 18.04 存储库中,您只需安装它。

但是,根据您收到的错误来判断,您的系统不知道哪个mc实际上是可安装的,也不知道有哪些可用的软件包,因此请先更新,然后尝试安装:

sudo apt-get update
sudo apt-get install mc

如果愿意,您可以通过在命令中mc替换doublecmd-gtk或来安装 Double Commander 。doublecmd-qt

相关内容