Тёмный
No video :(

Linux Crash Course - The dnf Command 

Learn Linux TV
Подписаться 706 тыс.
Просмотров 42 тыс.
50% 1

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 61   
@veggiebroth5542
@veggiebroth5542 2 года назад
I installed fedora last night and just left it alone, and then you come out with this. The stars just lined up
@Slate245Ivanovo
@Slate245Ivanovo 2 года назад
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
@yt_reborngameplays
@yt_reborngameplays 2 года назад
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.
@hiram8653
@hiram8653 2 года назад
‘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.
@ArniesTech
@ArniesTech 2 года назад
Love your non-nonsense approach 🙏
@seanvucich
@seanvucich 2 года назад
I love the crash course series. A good middle ground between man and tldr.
@essetee
@essetee 2 года назад
/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'
@HadToChangeMyName_YoutubeSucks
@HadToChangeMyName_YoutubeSucks 2 года назад
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.
@LampJustin
@LampJustin 2 года назад
I don't know what you're trying to say with that, but yes dnf is a rpm based package manager that doesn't work with debs. It is not reliant on yum tho, it's in fact it's replacement. So if you use yum on RHEL/Centos/etc you're practically using a symlink to dnf. (Oversimplification)
@yogeshchaudhari2158
@yogeshchaudhari2158 Год назад
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..
@alexaleks8093
@alexaleks8093 2 дня назад
thanks for this very informative video on the best server in the universe, keep up the good work ..
@chillnacho
@chillnacho 2 года назад
Looking forward to dnf part 2
@Laszlo34
@Laszlo34 2 года назад
Hi! I'm new to your vids and I'm soooooooo 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!
@StrikerEureka85
@StrikerEureka85 2 года назад
as someone who recently switched to fedora, THANKS!
@mindsoffire
@mindsoffire 2 года назад
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
@KeyserTheRedBeard
@KeyserTheRedBeard 2 года назад
wonderful content Learn Linux TV. I crushed that thumbs up on your video. Keep up the awesome work.
@oddolavssn8343
@oddolavssn8343 2 года назад
I would have added some lines to the DNF config. file (/etc/dnd/dnf.conf) like defaultyes=True and max_parallel_downloads=(10 to 20, depending on your internet connection speed). Maybe you could go more indepth in another episode?
@MrTomro
@MrTomro 2 года назад
surprised you haven't mentioned offline-upgrades at all.
@raezrothelnheim4368
@raezrothelnheim4368 2 года назад
Do another video on the PinePhone v1.2!!! It has come a long way. PinePhone Pro still needs development but I am crazy enough to daily it. Would be awesome to see what you think of the progress.
@manw3bttcks
@manw3bttcks Год назад
I've been hoping they improve dnf to be what I call "transactional dnf" , that is it would communicate with the remote servers via hashes and only grab metadata that actually changed since it last transacted with the servers. What dnf does now is just downloads everything all over each time which is a big waste. Think of it like what happens when you run "git pull" on your computer, git only gets the deltas that changed since your last 'pull'. I guess this kind of thing would never happen because it would be a huge change in the current dnf servers and it would be heard to deal with both the old dnf and new at the same time
@mikephillips5551
@mikephillips5551 2 года назад
You know for sudo dnf install package.. You can use dnf in package and for dnf remove you can dnf rm and dnf upgrade or update you can dnf up !!!
@gilgarma5678
@gilgarma5678 2 года назад
So you have always good information over commands, OS's your crash courses are very good I learned a lot with , Thanks Jay!!!!
@predragnikolic1259
@predragnikolic1259 2 года назад
Best Linux channell
@quekrobin7098
@quekrobin7098 2 года назад
Thank you Teacher, yr teaching is awesome!!
@wildmanjeff42
@wildmanjeff42 2 года назад
Thanks for the video Jay !
@zameerpashablr
@zameerpashablr Год назад
Wow Wow Wonderful Explanation....God Bless you for guiding us to learning Linux Distros.
@AbdelaliAbdallah
@AbdelaliAbdallah 2 года назад
DNF is so good and stable actually after using fedora since the version 34 it seems that no other package manager sastifies me some says it's slower than APT for example but never find it slow in my case at least dnonloading 1G+ update in less tahan 10 minutes is more than ok i guess !
@yt_reborngameplays
@yt_reborngameplays 2 года назад
You can tweak the speed. In the */etc/dnf/dnf.conf* file add two new lines: *max_parallel_downloads=10* *keepcache=True*
@DL-xf3ur
@DL-xf3ur 2 года назад
Thanks Jay!
@ChrisPinCornwall
@ChrisPinCornwall 2 года назад
Really clear and helpful. Thank you.
@ThisGuyFrritz
@ThisGuyFrritz 2 года назад
"dandified yum." I gotta remember that when I type "dnf."
@skullmammon909
@skullmammon909 2 года назад
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
@borremoonkey
@borremoonkey 2 года назад
Would you ever consider doing an openSUSE/zypper tutorial.
@muzikermammoth3995
@muzikermammoth3995 2 года назад
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.
@liranp11
@liranp11 2 года назад
Hi Jay, love the channel. i kind of new to linux and trying to make a home lab in which all server are linux. i would like a video of how to set up DNS and DHCP servers, and maybe user management. 10x
@edisonlightbulb2880
@edisonlightbulb2880 2 года назад
Thank you for the nice video. I am curious what if I want to compile, build and install on my own NOT using yum install dnf.
@TheRedPrometheus
@TheRedPrometheus Год назад
can we get a deeper dive part 2?
@little_forest
@little_forest 2 года назад
Nice! I love how everything that will happen during a process is so clearly displayed in dnf, unlike on apt. The only thing I would love to have changed is the standard reply would be yes and not no. Minor complaint :) But does the "reinstall" command really do the same as "manually" remove and installing a package? Cause recently I was under the impression, that at least on Manjaro/Arch this was not the case - reinstalling a package did not solve the problem, but a "manual" removal an re-install did fix the problem. So I was wondering, if this really is different on distros with dnf. Or can it be, that during a "reinstall" command, it will only reinstall the main package but not its dependencies, but with a manual removal, also the dependencies will get removed and then later reinstalled as well? So that would mean if a problem of an app is due to a depending package and not the actual package, the reinstall command will not fix the problem. That was at least my impression and my hypothesis.
@sinisasinkovic4334
@sinisasinkovic4334 2 года назад
Add defaultyes=True to /etc/dnf/dnf.conf
@d00dEEE
@d00dEEE 2 года назад
I reflexively just add '-y' to the command line...
@yt_reborngameplays
@yt_reborngameplays 2 года назад
Write *True* instead of true. The word casing matters here.
@murfdaddydolla
@murfdaddydolla 2 года назад
Great video!
@NoEgg4u
@NoEgg4u 2 года назад
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?
@LearnLinuxTV
@LearnLinuxTV 2 года назад
That should be a scenario that's nearly impossible to run into. Once you install a distribution, the built-in package manager is all you'll use, so there shouldn't be a situation where another package manager becomes a factor. If you're using yum and then later dnf, yum is linked directly to dnf so it may as well be the same thing. If you switch package managers, then you would've switched the entire distro too.
@user-bb6qv5vi7l
@user-bb6qv5vi7l Год назад
What is the difference between apt and dnf commands?
@anyonecansayeverything
@anyonecansayeverything Месяц назад
i get this error " ModuleNotFoundError: No module named 'dnf' "!!!!!!! any idea !
@SusanAmberBruce
@SusanAmberBruce Год назад
Thanks for this series, I followed your suggestions for dnf, I just installed Nobara and there are some package conflicts, how do I deal with those?
@JohnVK5JAK
@JohnVK5JAK 2 года назад
I like to ask question about things that are in the video, but that aren't 'in' the video. In this case, what are the Japanese (?) symbols on the wall behind you?
@shhs1227
@shhs1227 Год назад
given the Buddha in the background it seems more likely to me that it's Chinese but it could go either way
@_rachid
@_rachid Год назад
Merci !
@keltyll
@keltyll 2 года назад
Dandified Yellowdog Updater Modified. Seriously?! :D
@quintalcent
@quintalcent 2 года назад
Hi Jay. Did I understand well that the dnf command doesn’t work on ubuntu plateforms ?
@yt_reborngameplays
@yt_reborngameplays 2 года назад
Distros which use *.rpm* packages use dnf except openSUSE (uses zypper). As Debian, Ubuntu (and it's derivatives) uses *.dpkg* packages they doesn't use dnf.
@vangjelmandri8952
@vangjelmandri8952 2 года назад
I used FIrefox since version 3
@findghazi
@findghazi 2 года назад
me too haha
@jamespoda5621
@jamespoda5621 4 месяца назад
Epic
@Hunter-pn9dl
@Hunter-pn9dl Год назад
dnf is real!!!
@jwspock1690
@jwspock1690 2 года назад
the first
@WinglessVulture
@WinglessVulture Год назад
Not everyone here is for coding, some are just looking for a gay ship
@BeesCantSwim
@BeesCantSwim 2 года назад
You talk way too much.
@Tippotipo
@Tippotipo 2 года назад
It is a course so talking is needed. Perhaps you can provide your own version.
Далее
Building your own Git Server with Gitea on AlmaLinux
39:52
Linux Crash Course - The df and du Commands
20:28
Просмотров 29 тыс.
47. Пакетный менеджер - dnf (RHCSA)
25:55
Why Has Fedora Become So Popular?
12:47
Просмотров 55 тыс.
Linux Crash Course - Symbolic Links
30:07
Просмотров 61 тыс.
Linux Command-Line Tips & Tricks: Over 15 Examples!
31:37
I switched to Linux 30 days ago... How did it go?
28:46
Linux Crash Course - Understanding Logging
29:10
Просмотров 48 тыс.
Pacman On Other Distros, How To and Why You Shouldn't
12:05
Stop using APT
9:56
Просмотров 517 тыс.