The growth and use of Podman is really raging higher and higher. I hope one day it will be on the same level as Docker is today. Now, assuming that you have Podman installed on Debian 11 already, let’s see how to install Podman Compose on Debian 11.
Prerequisites
- Debian 11
- Podman
- sudo privileges
Install podman-compose using PyPI on Debian 11
Step 1. Install python and pip as well.
sudo apt update
sudo apt install python3
sudo apt install python3-pip
Step 2. Install the latest stable podman-compose
using pip3.
pip3 install podman-compose
Install podman-compose from GitHub on Debian 11
You can install podman-compose
from GitHub as a source.
pip3 install https://github.com/containers/podman-compose/archive/devel.tar.gz
Install podman-compose using curl on Debian 11
And as always curl
is here for you if you don’t like to use python and pip :).
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
Conclusion
To verify the installation, run:
podman-compose --help
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.