我如何安装对话框包?

我如何安装对话框包?

我如何安装对话框包?

我尝试了这些命令,但是没有作用:

sudo apt-get update
sudo apt-get install dialog
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package dialog 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

答案1

dialog 包位于 universe 存储库中。要启用它,请使用以下命令:

sudo add-apt-repository universe

不要忘记运行sudo apt update,之后您将能够安装对话框。

相关内容