Ravi Sir's Cards › AWS
apt and dnf
This revision card explains apt and dnf. It starts from the need that install from trusted repos. It describes apt on Ubuntu, dnf on RHEL. The how-to section notes refresh lists first. An example on the card is install on Amazon Linux.
Read card text
What this card says
Why do we need it?
Install from trusted repos.
What is it?
apt on Ubuntu, dnf on RHEL.
How to do it
Refresh lists first.
Example
Install on Amazon Linux.
sudo dnf install -y nginx