Link to home
Start Free TrialLog in
Avatar of perlperl
perlperl

asked on

upgrading linux

I have fedora 18 (Kernel 3.6)

Is there a way to do command line to upgrade to latest Fedora 19 (that comes with Kernel 3.8)?

Or do I have to download the source, compile it, build rpm etc....Is there any instructions to upgrade from fedora 18 to fedora 19?
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

You can issue a yum update, and it will upgrade to the latest release and kernel.

Only compile by hand if you are comfortable troubleshooting compile errors.
ASKER CERTIFIED SOLUTION
Avatar of rindi
rindi
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I second rindi,

FedUp is the way to upgrade Fedora from 17 onwards. Using YUM is generally not recommended any more.
You can easily install fedup with yum and run it from command line and upgrade directly to any release:
sudo fedup --network 19 # or even 20

Open in new window

It first downloads all the packages and then creates a special upgrade runtime env. FedUp then boots the upgrade kernel and runs the install via YUM.

I have done upgrades with fedup quite a few times and can recommend it.

You might end up having some *.fc18 RPM's still on your system, though f19 is around long enough to have all the packages available. Note, the old packages still work but will be frozen and never be updated until distro-sync'ed:
1. Find fc18 rpms with rpm -qa|grep fc18
2. Upgrade them with yum distro-sync <package-name>