How To Install podman-compose on Rocky Linux 8

In this tutorial we learn how to install podman-compose on Rocky Linux 8. podman-compose is Run docker-compose.yml using podman

Introduction

In this tutorial we learn how to install podman-compose on Rocky Linux 8.

What is podman-compose

An implementation of docker-compose with podman backend. The main objective of this project is to be able to run docker-compose.yml unmodified and rootless.

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

Install podman-compose on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install podman-compose

Install podman-compose on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install podman-compose

How To Uninstall podman-compose on Rocky Linux 8

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

sudo dnf remove podman-compose

podman-compose Package Contents on Rocky Linux 8

/usr/bin/podman-compose
/usr/lib/python3.6/site-packages/__pycache__/podman_compose.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/__pycache__/podman_compose.cpython-36.pyc
/usr/lib/python3.6/site-packages/podman_compose-0.1.7.dev0-py3.6.egg-info
/usr/lib/python3.6/site-packages/podman_compose-0.1.7.dev0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/podman_compose-0.1.7.dev0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/podman_compose-0.1.7.dev0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/podman_compose-0.1.7.dev0-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/podman_compose-0.1.7.dev0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/podman_compose-0.1.7.dev0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/podman_compose.py
/usr/share/doc/podman-compose
/usr/share/doc/podman-compose/CONTRIBUTING.md
/usr/share/doc/podman-compose/README.md
/usr/share/doc/podman-compose/docs
/usr/share/doc/podman-compose/docs/Mappings.md
/usr/share/doc/podman-compose/examples
/usr/share/doc/podman-compose/examples/awx3
/usr/share/doc/podman-compose/examples/awx3/docker-compose.yml
/usr/share/doc/podman-compose/examples/busybox
/usr/share/doc/podman-compose/examples/busybox/docker-compose.yaml
/usr/share/licenses/podman-compose
/usr/share/licenses/podman-compose/LICENSE

References

Summary

In this tutorial we learn how to install podman-compose on Rocky Linux 8 using yum and dnf.