我可以使用什么包管理器在 ubuntu 服务器上安装 cockpit-machine?

我可以使用什么包管理器在 ubuntu 服务器上安装 cockpit-machine?

我尝试使用 dnf 包管理器在 ubuntu 服务器上安装 cockpit-machine。我收到反馈“sudo: dnf: 未找到命令”

答案1

DNF 是 Fedora 项目的包管理器,但在 Ubuntu 中,默认包管理器是 apt。要在所有当前支持的 Ubuntu 版本中为虚拟机安装 Cockpit 用户界面,请打开终端并输入:

sudo apt update  
sudo apt install cockpit-machines

相关内容