如何在 25 秒内在 Ubuntu 20.04 上安装 Podman
运行此单行命令在你的 Ubuntu 系统上安装 podman:
example-2.txt
这是正在运行的代码,正是从 Podman 安装页面 获取的代码。
example-1.sh
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key | sudo apt-key add -
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install podmanIf this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow