podman,

Install Podman Compose on Ubuntu 22.04

May 19, 2022 · 1 min read · Post a comment
Install Podman Compose on Ubuntu 22.04

As Podman is ramping up within the containers world, the need for Podman Compose is getting higher as well. Here I’m gonna show you three ways on how to install Podman Compose on Ubuntu 22.04.

Prerequisites

  • Podman
  • sudo access

Install podman-compose using PyPI on Ubuntu 22.04

Step 1. Update the packages and install python with pip.

sudo apt update
sudo apt install python3-pip

Step 2. To install the latest stable podman-compose version using pip3, run.

pip3 install podman-compose

Install podman-compose from GitHub on Ubuntu 22.04

Install the latest dev version from GitHub.

pip3 install https://github.com/containers/podman-compose/archive/devel.tar.gz

Install podman-compose using curl on Ubuntu 22.04

Using curl is the most common way of installing it.

curl -o /usr/local/bin/podman-compose https://raw.githubusercontent.com/containers/podman-compose/devel/podman_compose.py
chmod +x /usr/local/bin/podman-compose

Verify the installation

podman-compose --version

Conclusion

Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.