Linux Crash Course - The dnf Command

There's a handful of popular package managers that are used on various Linux distributions, and dnf is among the most popular. It's the default package manager on distros such as Red Hat, CentOS, AlmaLinux, Rocky Linux, Fedora, among others. In this video, we'll explore the dnf command and see examples of basic usage.

## Thanks to Linode for sponsoring this video.
- Get your own cloud server with Linode ➜ https://linode.com/learnlinuxtv

## Support LearnLinuxTV (commission earned):
- Support me on Patreon and get early access to new content! ➜ https://learnlinux.link/patron
- Check out my latest book, Mastering Ubuntu Server 3rd Edition ➜ http://ubuntuserverbook.com
- Check out Shells.com to spin up your very own Linux or Windows desktop in the cloud ➜ https://learnlinux.link/shells
- Affiliate store for Linux compatible hardware/accessories ➜ https://learnlinux.link/amazon
- Check out the Tiny Pilot KVM for your Homelab ➜ https://learnlinux.link/tinypilot

## Individual sections
00:00 - Intro
01:04 - Sponsor for this video: Linode
02:30 - What is "dnf"?
03:14 - Installing a single package with dnf
07:45 - Using dnf to search for a package to install
09:45 - Listing installed packages
11:10 - Listing packages that have been recently updated
12:06 - Installing more than one package at a time
15:48 - Uninstalling packages with dnf
17:39 - Updating a package to the latest version
18:47 - Updating all installed packages to the latest version
20:41 - Setting up automatic updates with dnf-automatic
24:00 - Reinstalling a package with dnf
25:29 - Removing unused dependencies

## Recommended evergreen videos:
- How to create a bootable flash drive for installing Linux ➜ https://linux.video/flash-usb
- Understanding Linux permissions ➜ https://linux.video/perms
- OpenSSH Guide ➜ https://linux.video/ssh
- LVM Deep-dive ➜ https://linux.video/lvm
- How to better secure OpenSSH ➜ https://linux.video/secure-ssh

## LearnLinuxTV Links:
- Main site ➜ https://www.learnlinux.tv
- Community ➜ https://community.learnlinux.tv

## About the host
- Personal blog ➜ https://www.jaylacroix.com
- Twitter ➜ https://learnlinux.link/twitter

## FAQ
- Which distro do I use? ➜ https://learnlinux.link/mydistro
- My recording gear (commissions earned) ➜ https://learnlinux.link/recording-stuff

Disclaimer: LearnLinuxTV provides technical content on YouTube that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). LearnLinuxTV is not responsible for any damages that may arise from any use of this content. The viewer is expected to follow best judgement and to make his/her/their best decisions while working with production or non-production systems and hardware.

#Linux #dnf #LinuxTutorial

Home