Advanced Package Man Flashcards
where is the dnf config file located
/etc/dnf/dnf.conf
list all packages available for installation from all enabled repos
sudo dnf repoquery
list all packages available for installation from a SPECIFIC enabled repos
sudo dnf repoquery –repo “BaseOS”
list installed packages
sudo dnf list installed
list all installed packages and all packages available for installation
sudo dnf list
list specific package that is installed
sudo dnf list installed gnome*
list recently added packages
sudo dnf list recent
install ypbind
sudo dnf install ypbind
install package located locally
sudo dnf localinstall /mnt/AppStream/Packages/dcraw……..
update a package
sudo dnf update autofs
update all installed packages
sudo dnf -y update
view info on autofs package
dnf info autofs
remove a package
sudo dnf remove ypbind
search for packages that contain a specific file such as /etc/passwd
dnf provides /etc/passwd
search for packages that match the specified string in their name
dnf search system-config