update-alternatives

A convenient tool for maintaining symbolic links to determine default commands. More information: <https://manned.org/update-alternatives>.

Debian Debian
RUN apt-get update && \ apt-get install -y dpkg
Ubuntu
RUN apt-get update && \ apt-get install -y dpkg
Alpine
RUN apk add dpkg
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y dpkg
CentOS
RUN yum install -y chkconfig
Fedora
RUN dnf install -y chkconfig
Raspbian
RUN apt-get update && \ apt-get install -y dpkg
click the source code to copy install update-alternatives on any operating system with command-not-found.com