Mint:Build Podman From Source
Build and Run Dependencies
sudo apt-get install \
btrfs-progs \
crun \
git \
golang-go \
go-md2man \
iptables \
libassuan-dev \
libbtrfs-dev \
libc6-dev \
libdevmapper-dev \
libglib2.0-dev \
libgpgme-dev \
libgpg-error-dev \
libprotobuf-dev \
libprotobuf-c-dev \
libseccomp-dev \
libselinux1-dev \
libsystemd-dev \
containernetworking-plugins \
pkg-config \
uidmap
Note: go need to be manually installed:
wget https://go.dev/dl/go1.21.2.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.2.linux-amd64.tar.gz
sudo apt remove golang-go
~/.profile
export PATH=$PATH:/usr/local/go/bin
Build
git clone https://github.com/containers/podman/
cd podman
make BUILDTAGS="selinux seccomp" PREFIX=/usr
sudo -i
make install PREFIX=/usr