| Article Index |
|---|
| 1. General upgrade information |
| 1.1. Requirements |
| 2. Perform the Upgrade |
| 2.1. What is your Unbuntu Version? |
| 2.2. Start the Upgrade Process |
This article provides details on upgrading to Ubuntu 11.10 (code name “Oneiric Ocelot”) at command line. To perform the upgrade as described in this article you are required to have an X11 server running Gnome or KDE.
1. General upgrade information
An upgrade is the process of going from an earlier version of Ubuntu to a newer one. Skipping versions is not advised as it may cause damage to your system.
If you are using an earlier version, and want to ‘skip’ a version, the safest way is to backup your data and do a fresh installation, or to progressively upgrade to each successive version.
The following table contains a list of supported upgrade paths:
| source version | target version |
|---|---|
| 11.04 (Natty Narwhal) | 11.10 (Oneiric Ocelot) |
| 10.10 (Maverick Meerkat) | 11.04 (Natty Narwhal) |
| 10.04 (Lucid Lynx) | 10.10 (Maverick Meerkat) |
| 9.10 (Karmic Koala) | 10.04 (Lucid Lynx) |
| 8.04 (Hardy Heron) | 10.04 LTS (Lucid Lynx) |
| 9.04 (Jaunty Jackalope) | 9.10 (Karmic Koala) |
| 8.04 (Hardy Heron) | 9.10 (Karmic Koala) |
| 8.10 (Intrepid Ibex) | 9.04 (Jaunty Jackalope) |
| 8.04 (Hardy Heron) | 8.10 (Intrepid Ibex) |
1.1. Requirements
- X11 is running with Gnome or KDE
- You can only upgrade directly to Ubuntu 11.10 from Ubuntu 11.04.
- Be sure that you have all updates applied to your system before you upgrade.
- Read the release notes for Ubuntu 11.10.
- Perform a backup of your system! At least all data files, database contents, custom applications, application configurations and custom system configurations should be included. If there are a lot of additional applications installed via apt_get or aptitude, you should consider to dump a list of all software packages installed in your system.
2. Perform the Upgrade
2.1. What is your Unbuntu Version?
Use the following command to find out what version of Ubuntu you are running:
1 |
# print release number of your Ubuntu installation |
2.2. Start the Upgrade Process
The following steps are required to perform the upgrade:
- update your system with the most current software packages
- download the ISO image of the alternate CD / DVD
- mount the image file
- perform the upgrade
The following session is an example how to upgrade your system.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# update your installation of Ubuntu 11.04 $ sudo apt-get update $ sudo apt-get upgrade # download iso by webbrowser, wget or other tools (e.g. the 32-bit release) $ sudo apt-get install wget $ wget http://mirror.anl.gov/pub/ubuntu-iso/CDs/oneiric/ubuntu-11.10-alternate-i386.iso # to download the 64-bit release use the following link # http://mirror.anl.gov/pub/ubuntu-iso/CDs/oneiric/ubuntu-11.10-alternate-amd64.iso # mount the ISO image $ sudo mount -o loop ubuntu-11.10-alternate-i386.iso /cdrom # Now a dialog will be displayed offering you the opportunity to # upgrade using that CD. Follow the on-screen instructions. # If the upgrade dialog is not displayed use one of the following commands: # ...option no.1 $ gksu "sh /cdrom/cdromupgrade" # ...or option no.2 in KDE $ kdesudo "sh /cdrom/cdromupgrade" # unmount the CD image $ umount /cdrom |
Related articles:
- Online Upgrade to Ubuntu 11.10 for Desktop Computers
- Online Upgrade to Ubuntu 11.10 at Command Line
- Guide to Upgrade from Ubuntu 11.04 to 11.10
- Configure Update Interval for Ubuntu Updates
- Print Release Number of Your Ubuntu Installation




