apt

Package management utility for Debian based distributions. Recommended replacement for apt-get when used interactively in Ubuntu versions 16.04 and later. For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>. More information: <https://manpages.debian.org/latest/apt/apt.8.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y apt
Ubuntu
RUN apt-get update && \ apt-get install -y apt
Arch Arch Linux
RUN pacman -S --noconfirm apt
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y apt
CentOS
RUN yum install -y apt
Fedora
RUN dnf install -y apt
Raspbian
RUN apt-get update && \ apt-get install -y apt
click the source code to copy install apt on any operating system with command-not-found.com