Ask Your Question

best way to update fedora from command line

asked 2014-09-18 11:17:32 -0500

baoboa gravatar image

updated 2014-09-28 15:30:11 -0500

mether gravatar image

I was wondering what is the best way to update my fedora os from command line.

  1. yum update (safe ?)
  2. dnf update (fast but buggy)
  3. pkcon update ( no control )

For example as nvidia blob user i always got into trouble with rpmfusion package and kernel version mismatch. ( kernel 3.16.2 for example ) it's maybe due to the fact i misuse the cmdline.

i'm interested in best practices for cmdline.

PS: i'm using now negativo17 repo for nvidia blob.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2014-09-18 20:43:47 -0500

FranciscoD_ gravatar image

All of this information is already available here:

Please note that there is no guarantee that packages from third party repositories will update correctly. Unfortunately, Fedora cannot help with this :/

I suggest you back up all your important data before proceeding.

edit flag offensive delete link more



i was asking more about day to day update. fedup work pretty well for release upgrade

baoboa gravatar imagebaoboa ( 2014-09-19 04:37:50 -0500 )edit

answered 2015-06-23 15:25:49 -0500

EllePi gravatar image

Personally, I always use

dnf upgrade

from a root console ...

edit flag offensive delete link more

answered 2015-06-22 01:49:35 -0500

Aleksandar Kostadinov gravatar image

updated 2015-06-22 01:50:32 -0500

I would suggest you, for daily updates to use whatever comes as default with your distro, unless you hit any issues, that are not quickly resolved. Chances are , with deprecated yum, that yum issues will not be found and will not be fixed as more time passes.

i.e. dnf for fedora 22 and yum with earlier versions

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-09-18 11:17:32 -0500

Seen: 77,014 times

Last updated: Jun 23 '15