Linux Crash Course - The dnf Command

preview_player
Показать описание
The "Linux Crash Course" series (formerly known as the "Linux Essentials" series) tackles important concepts around Linux, one video at a time. In this video, we'll explore the dnf command and see examples of basic usage.

## Thanks to Linode for sponsoring this video.

*Support Learn Linux TV*
Note: Commission may be earned for any and all links presented here.

#*⏰ TIME CODES*
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*🎓 FULL LINUX COURSES!*

*🎓 MORE ABOUT LEARN LINUX TV*

*⚠️ DISCLAIMER*
Learn Linux TV provides technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content. Always make sure you have written permission before working with any infrastructure and that you are compliant with all company rules, change control procedures, and local laws.

#Linux #dnf #learnlinux
Рекомендации по теме
Комментарии
Автор

I installed fedora last night and just left it alone, and then you come out with this. The stars just lined up

veggiebroth
Автор

‘dnf history’ is very useful to understand what has been install, in what order and also to undo package installations, . Would be something good to talk about in a subsequent dnf video. Thanks for the guide.

hiram
Автор

I love the crash course series. A good middle ground between man and tldr.

seanvucich
Автор

Hi! I'm new to your vids and I'm glad you pronounce it soo-doo, as in "super user do" and NOT "soo-dough" which makes no sense at all and makes me grind my teeth. Thanks for the videos!

Laszlo
Автор

The most important *dnf history* command is not discussed. This command is what elevates dnf from apt and it allows users to rollback the updates. Actually I am happy that you haven't discussed this command in this video. I urge you to make a video about *dnf history* discretely.

yt_reborngameplays
Автор

Would love to see a more deep dive into dnf command.

After updating to Fedora 36 I had to use dnf modules to switch back to postgres 13 and that was a very interesting feature I wasn't aware of

SlateIvanovo
Автор

So you have always good information over commands, OS's your crash courses are very good I learned a lot with, Thanks Jay!!!!

gilgarma
Автор

Really appreciate your work..
I am beginner for linux, this video clear some concept and helpful to how to utilize command nicely.

Waiting for next useful video like this..

yogeshchaudhari
Автор

willing to learn. Unless you already understand setups, then I gues sit's gonna be easier, but as a classically trained pianist I was blown

mindsoffire
Автор

wonderful content Learn Linux TV. I crushed that thumbs up on your video. Keep up the awesome work.

KeyserTheRedBeard
Автор

as someone who recently switched to fedora, THANKS!

StrikerEureka
Автор

hi
this is want I want to do
sudo dnf install lutris

this is the error I get
sudo: dnf: command not found

Its the same error with chmode


I would like to make these two commands to work
Im using fedora

Could you help me please

skullmammon
Автор

"dandified yum." I gotta remember that when I type "dnf."

ThisGuyFrritz
Автор

thanks for this very informative video on the best server in the universe, keep up the good work ..

alexaleks
Автор

/etc/dnf.conf may need also some tweaking. example:
fastestmirror=True
defaultyes=True
max_parallel_downloads=10
The defaultyes option let you just press enter instead of y+enter. Max_parallel_downloads is for fast internet connections. fastestmirror is obvious. And then you have dnf group list and then you can do sudo dnf groupinstal 'choosen group'

essetee
Автор

DNF is strictly for .rpm (as far as I know) packages so it only works in distros where yum is used. It's a bit like aptitude on systems that use apt (which is already really a frontend for dpkg). My understanding is that you could build and use it on other systems, but it would require converting your package managers files to .rpm before installing them which would not be worth the work.

binbashbuddy
Автор

How do you pin the repo to only download rpms using https? The fedora mirror redirects to usually http repos. Also the repo_gpgcheck is usually set to 0, which i take to mean files from these repos are not gpg checked.

muzikermammoth
Автор

Does "dnf" know only about the packages that it installed?

In other words, if you were previously using some other package manager, and now you want to upgrade a package, will "dnf" see that package (that was installed by a different package manager) and perform the upgrade?

And the same question for any reputable package manager. Do they all keep a common database to know what is on your system? Or do they all check, when you run your request?
Will you have conflicts or any issues if you use more than one package manager?

NoEggu
Автор

If you do the command sudo dnf install htop -y you didn't need to type the y to accept since you already did it in the command you typed

Snowwolfow
Автор

Wow Wow Wonderful Explanation....God Bless you for guiding us to learning Linux Distros.

zameerpashablr