podman command not found

In this troubleshooting guide we learn how to fix podman command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

podman: command not found

or when using sudo you get the following error message

sudo: podman: command not found

Solutions to podman: command not found

How To Fix podman: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu podman is provided by podman package.

podman is:

Podman is an engine for running OCI-based containers in Pods. Podman provides a CLI interface for managing Pods, Containers, and Container Images.

At a high level, the scope of libpod and podman is the following:

  • Support multiple image formats including the OCI and Docker image formats.
  • Support for multiple means to download images including trust & image verification.
  • Container image management (managing image layers, overlay filesystems, etc).
  • Full management of container lifecycle.
  • Support for pods to manage groups of containers together.
  • Resource isolation of containers and pods.
  • Support for a Docker-compatible CLI interface through Podman.

Podman is a daemon-less alternative to Docker.

To fix this problem, we can install more using the command below.

sudo apt-get -y install podman

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install podman.

sudo apt -y install podman

Or if you have aptitude installed you can use the following command.

sudo aptitude install podman

Summary

In this tutorial we learn how to fix podman command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.