How to Upgrade / Update Ubuntu OS to Ubuntu 12.10 (Quantal Quetzal) from 12.04, 11.04, 11.10

New OS updates and upgrades are very important for a stable system. We used to update our systems every week to ensure that we are getting software updates and security fixes for a stable system.

The new Ubuntu 12.10 (Quantal Quetzal) has just been released on 18th October 2012. For many current Ubuntu users, this is a must-have release. Not only will it improve the already outstanding Unity interface, it will also bring to the table a more efficient kernel and many more under the hood improvements.

This guide shows you how to upgrade / update Ubuntu OS to Ubuntu 12.10 (Quantal Quetzal) from 12.04, 11.04, 11.10

Before starting the process

  • 1. Your data is safe but for a safer side make a full backup of your data on an external device (USB stick or CD/DVD).
  • 2. You end up with a fully functional system.
  • 3. Ubuntu 12.10 just has been released so be prepared for the upgrade to take longer than usual to complete.
  • 4. Ubuntu 12.04 is general more stable than later releases because of its LTS tag. If your productivity depends on general stability more than slick Unity Previews and some updated apps, hold off on upgrading for now.
  • 5. Finally, if you have additional “PPAs” added to your system they will be disabled on upgrade. If you’re reliant on a specific PPA for app updates or otherwise check that it supports Ubuntu 12.10 then re-add it.

Lets start now

Step 1 Start the Update Manager:
To get started, press Alt + F2 on your keyboard to open the command prompt. When it opens, run the commands below and press Enter to open upgrade manager.
upgrade_ubuntu_to_12.10

Step 2 In the Update Manager, click on the Settings button in the bottom left corner:
upgrade_ubuntu_to_12.10

Step 3 Go to the Updates tab. In the Notify me of a new Ubuntu version drop-down menu, select For any new version instead of for long-term support versions:
upgrade_ubuntu_to_12.10

Step 4 You must type in your password for this change to take effect:
upgrade_ubuntu_to_12.10

Step 5 The Update Manager should show that a new distribution release (12.10) is available. Please do not click on the Upgrade button right now. First we have to make sure that the latest updates, including the latest version of the dpkg package, are installed.
To check for the latest updates, click on the Check button first. After the check has finished, click on the Install Updates button to install the latest updates:
upgrade_ubuntu_to_12.10

Step 6 Type in your password:
upgrade_ubuntu_to_12.10

Step 7 The latest updates are now being installed:
upgrade_ubuntu_to_12.10

Step 8 Click on Restart Now:
upgrade_ubuntu_to_12.10

Step 9 After reboot, open the Update Manager again.
upgrade_ubuntu_to_12.10

Step 10 The Update Manager should now show There are no updates to install. If that is the case (and only then!) click on the Upgrade button right of New Ubuntu release ‘12.10’ is available:
upgrade_ubuntu_to_12.10

Step 11 A window with the release notes for Ubuntu 12.10 comes up. Click on Upgrade again:
upgrade_ubuntu_to_12.10

Step 12 The upgrade tool is now being downloaded. Afterwards, type in your password:
upgrade_ubuntu_to_12.10

Step 13 The upgrade is being prepared:
upgrade_ubuntu_to_12.10

Step 14 Click on Start Upgrade to finally begin with the upgrade process:
upgrade_ubuntu_to_12.10

Step 15 The upgrade packages are now being downloaded. It is a good idea to expand the terminal in the Distribution Upgrade window so that you can react if the distribution upgrade needs your input (otherwise the upgrade will seem to hang):
upgrade_ubuntu_to_12.10

Step 16 At the end of the upgrade process, you should remove obsolete packages:
upgrade_ubuntu_to_12.10

Step 17 The system needs to be rebooted to complete the upgrade, therefore click on Restart Now:
upgrade_ubuntu_to_12.10

The system should now boot into your new Ubuntu 12.10 desktop.

How to Upgrade Ubuntu to Ubuntu 12.04

As the Ubuntu 12.04 beta is out I thought I should give it a try. Currently I am using Ubuntu 11.04. So it is very simple task to Upgrade my current version to Ubuntu 12.04.

Before doing so I was having 3 options

Option 1 - Download ISO image from the ubuntu website and burn that into CD. Boot the cd and upgrade while installing into your machine which have earlier version of Ubuntu.

Option 2 - Make a Bootable flash drive to upgrade.

Option 3 - Use Update Manager.

As the easiest method I started upgrading my current OS using option 3.

Step 1 : Open a command propmt and run following commands

sudo apt-get update
sudo apt-get install update

Step 2 : Now start Update Manager using following command

sudo update-manager -d

Step 3 : It will ask for the passoword, provid the same. Now you should get the upgrade button on the right top.

Step 4 : Click on the Upgrade Button after confirming the upgrading it starts downloading the updates.

Step 5 : For downloading and upgrading my machine it took 45 minutes. The time limit depends on your internet connection.

Install Kernel 2.6.39 RC4 on Ubuntu 11.04

Recently I need to upgrade Ubuntu kernel version. I tried to do same with kernel-ppa. But it was not working. So I need to install it manually.

I am using 32bit machine and my current kernel version is :

uname -r
2.6.38-8-generic

To update the version to 2.6.39 RC4 download the kernel first:

mkdir /tmp/kernel
cd /tmp/kernel
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.39-rc4-natty/linux-image-2.6.39-020639rc4-generic_2.6.39-020639rc4.201104191410_i386.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.39-rc4-natty/linux-headers-2.6.39-020639rc4_2.6.39-020639rc4.201104191410_all.deb

Now we need to install kernel-image as well as kernel-headers

cd /tmp/kernel
sudo dpkg -i *

Now we need to reboot our machine to update the version:

sudo init 6

While rebooting choose kernel 2.6.39-020639rc4. Once the reboot confirm the kernel version by running

uname -r
2.6.39-020639rc4-generic

For 64bit machine you can download file from below links:
linux-image-2.6.39-rc4-amd64.deb
linux-headers-2.6.39-rc4-all.deb

PHP 5.3 on CentOS

Recently I need to install PHP 5.3 on CentOS. You can install PHP 5.3 by compiling source code, but for me yum is better. To install PHP 5.3 from yum you need to add Remi’s repository.

On CentOS 6, run

wget http://download.fedora.redhat.com/pub/epel/beta/6/i386/epel-release-6-5.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

On CentOS 5.X, run

wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

By default Remi’s repository is not enable. Open /etc/yum.repos.d/remi.repo and change enable=0 to enable=1

Then install PHP 5.3 by running,

yum install php php-*

Restart HTTP server to get changes reflected.

service httpd restart

Firefox 4 on Ubuntu

In the previous post we told you how to install firefox beta version on Ubuntu. Before couple of days firefox 4 stable version has been released. To check out the new features of Firefox you can go to mozilla’s website.

You can install the latest version of Firefox via apt on Ubuntu.
If you have installed development version of Firefox then first remove it.

sudo apt-get remove firefox-4.0

Then add Firefox stable repository

sudo add-apt-repository ppa:mozillateam/firefox-stable

Update repository

sudo apt-get update

Now you need to install Firefox via apt,

sudo apt-get install firefox

After installation, you will find Firefox under Applications > Internet > Firefox Web Browser.

Page 1 of 212»
rss twitter facbook

Categories

Archives