Solved

upgrading linux

Posted on 2013-12-08
3
446 Views
Last Modified: 2013-12-31
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?
0
Comment
Question by:perlperl
3 Comments
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39704591
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.
0
 
LVL 88

Accepted Solution

by:
rindi earned 500 total points
ID: 39704689
Yum update won't update to a newer version of fedora. But you should run yum update to first make sure your system is completely up-to-date, and after some further preparation you can use yum for the upgrade. The Link below shows you all the steps you need to do for this:

http://fedoraproject.org/wiki/Upgrading_Fedora_using_yum

There is also another way, with a special tool, "FedUp". This is probably easier and the recommended method. The link for this is here:

http://fedoraproject.org/wiki/FedUp

Of course for both ways, you should keep in mind that if you ever installed any software not through yum via the fedora repositories, but rather manually, you'll probably have problems with that software, and may have to install that again. Of course making backups prior to the upgrade will also help.
0
 
LVL 13

Expert Comment

by:Daniel Helgenberger
ID: 39711261
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>
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question