How To Install podman on AlmaLinux 8

In this tutorial we learn how to install podman in AlmaLinux 8. podman is Manage Pods, Containers and Container Images

Introduction

In this tutorial we learn how to install podman on AlmaLinux 8.

What is podman

podman (Pod Manager) is a fully featured container engine that is a simple daemonless tool. podman provides a Docker-CLI comparable command line that eases the transition from other container engines and allows the management of pods, containers and images. Simply put Most podman commands can be run as a regular user, without requiring additional privileges. podman uses Buildah(1) internally to create container images. Both tools share image (not container) storage, hence each can use or manipulate images (but not containers) created by the other. Manage Pods, Containers and Container Images podman Simple management tool for pods, containers and images

We can use yum or dnf to install podman on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install podman.

Install podman on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install podman using dnf by running the following command:

sudo dnf -y install podman

Install podman on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install podman using yum by running the following command:

sudo yum -y install podman

How To Uninstall podman on AlmaLinux 8

To uninstall only the podman package we can use the following command:

sudo dnf remove podman

References

Summary

In this tutorial we learn how to install podman on AlmaLinux 8 using yum and dnf.