podman,

Install Podman Compose on Ubuntu 20.04

Jan 09, 2022 · 1 min read · Post a comment
Install Podman Compose on Ubuntu 20.04

Installation of podman-compose on ubuntu 20.04 is pretty simple, quick, and can be achieved in three ways. Before jumping on the installation part make sure that you have python3 and pip3 installed from the prerequisites section.

Prerequisites

  • Podman installed
  • Python3 and pip3 installed

Install podman-compose using PyPI on Ubuntu 20.04

Install the latest stable podman-compose version using pip3:

pip3 install podman-compose

Install podman-compose from GitHub on Ubuntu 20.04

To install the latest dev version from GitHub run:

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

Install podman-compose using curl on Ubuntu 20.04

My preferred way is to install it through curl:

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

To verify the installation execute:

podman-compose --version

or

podman-compose --help

Conclusion

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