How Do I Install Common Linux Packages?
Debian and Ubuntu use "apt", CentOS uses "yum", Arch uses "pacman".
Finding the package for a missing command can take some time. Here's a cheat sheet:
command | package |
---|---|
/bin/ps | procps |
netstat | net-tools |
ifconfig | net-tools |
ping | inetutils-ping |
add-apt-repository | software-properties-common, apt-transport-https |