Do I need "dnf check-update"?

SimSon

New Member
Joined
Jun 6, 2022
Messages
13
Reaction score
6
Credits
110
Hey,
I was wondering if I need "dnf check-update" also I want to upgrade my packages.
Because when I have installed a new package, I always have:
sudo dnf check-update
and then
sudo dnf upgrade

But now I have realized that it is also "fresh / check / takes the newest packages from the mirror" when I only type:

sudo dnf upgrade

I also check the official Fedora Documentation, but there is nothing written that you must run "dnf check-update" before upgrading your Packages - https://docs.fedoraproject.org/en-US/quick-docs/dnf/

Therefore, I'm wondering if I need to use "dnf check-update" before running "dnf upgrade" or If I just can run "dnf upgrade".

Maybe someone knows if I must run "dnf check-update" or not.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Staff online


Top