OS | tools | repository | |||
---|---|---|---|---|---|
Debian, Ubuntu, ... | apt Ubuntu
| Debian RHEL
| RHEL 7 and earlier — yum | RHEL 8 — either yum or dnf RHEL 9 — dnf RHEL [2]
| |
apt search ^PATTERN$ apt install PACKAGE apt update; apt upgrade apt list --installed | grep PATTERN dpkg -L PACKAGE yum search PATTERN yum install PACKAGE yum update yum list installed | grep PATTERN rpm -ql PACKAGE dnf search PATERN dnf install PACKAGE dnf upgrade dnf list installed | grep PATTERN rpm -ql PACKAGE