Category Archives: Ubuntu 12.04

install chrome on Ubuntu 12.04

How to install Google Chrome on Ubuntu 12.04

Ubuntu 12.04 LTS comes with Mozilla Firefox, installed by default. Firefox is great but if you want to use Google Chrome in Ubuntu 12.04 – then you may try Chromium (the open source project, the base of Google Chrome web browser) – it’s already there in Ubuntu Software Center. Chromium works great! but you may be missing some proprietary plugins/codecs that you may want to use. On the other hand if you want Google Chrome – then Debian Package (executable format) is available for Ubuntu or other Debian based distributions such as Linux Mint.


Google Chrome has all those proprietary stuffs such as Adobe Flash player – integrated by default. (Although that’s not a good reason because you can also install Adobe Flash player for Firefox or other browsers, surely up to this release).

install chrome on Ubuntu 12.04
Open with Software Center

Installing Chrome browser in Ubuntu 12.04

  • Download The Debian Package (make sure, you select the package for right architecture i.e 32 or 64 bit)
  • Then open the downloaded package (some_file_name.deb) with Ubuntu Software Center and hit install (as you usually install packages and applications Ubuntu Software Center). Then wait for the installation to complete.


If anything goes wrong – like missing dependencies or couldn’t open the file then open a terminal(Ctrl+Alt+t) and execute the following command(s) to first install the missing packages/libraries –

sudo apt-get install libnspr4-0d
sudo apt-get install libcurl3

Then you could install the package using the command (instead of using Software Center)

sudo dpkg -i package_name.deb

If you still get some kind of dependencies error then before executing the (just) above command, execute

sudo apt-get -f install

How To Install Gnome Shell in Ubuntu 12.04

Ubuntu 12.04 comes with Unity, by default, based on Gnome 3.*, new features in Unity interface such as HUD seems to be cool but many people still doesn’t like Unity. Gnome Shell Interface is another great option for them. Since, both the interfaces are built on the top of Gnome 3.* – they have no compatibility problem at all. So you can run Unity and Gnome together – just select your favorite desktop at the Ubuntu login panel.

Gnome Shell requires little bit of extra graphics capabilities – but if your computer doesn’t support Gnome Shell then it will automatically fall back to the classic version of Gnome shell (with no fancy effects). Classic version mimics the appearance of Gnome 2.* desktop. Anyway if you are so interested in classic version then you should checkout Cinnamon Desktop. Ubuntu 12.04 Beta2 was released with Gnome 3.3.9.


Installing Gnome Shell Desktop/Interface

Open a terminal and execute –

sudo apt-get update
sudo apt-get install gnome-shell

That’s All. Now you can start using Gnome Shell – just logout/restart and select Gnome at login panel (you don’t need to do that again – it will remember the last option).

Browsing applications in Gnome Shell interface –


Clean Gnome shell desktop –

Gnome Shell with Ubuntu 12.04

Note : Install Gnome Tweak Tool – a simple application that will help you in customizing Gnome desktop (you know how things has changed after gnome 2.3).

sudo apt-get install gnome-tweak-tool



How To Install Ubuntu 12.04 from USB Drive

Ubuntu 12.04 (code named as : Precise Pangolin) is a LTS release (right now only beta version is available, stable will be out in a couple of weeks) – with 5 years of official support and updates. So LTS version is well suitable for production environment and if you’re using 11.10 or any other versions then you may want to switch to 12.04 for latest features, packages and stability.

This guide is made for absolute beginners, and will help in setting up Ubuntu 12.04 along with their existing operating system; although it’s not necessary because now you can do everything on Ubuntu and it’s fairly simple to use (and the absolute Freedom offered by Free ‘n’ Open Source softwares) , so you may swap out your current operating system completely with Ubuntu 12.04.

To install Ubuntu – first create a live USB, CD or DVD installer and boot your system – you may need to change your BIOS settings if your computer doesn’t boot from the live media installer. To get into the BIOS menu simply hit F2 or F12 or Del key – it depends on your system. Then, navigate through the arrow key and go boot devices/options and enable the USB boot, then change the order of bootable media (put USB on top) and save it (you may have to hit F10 for that).

The installation process is quite easy but first of all you must create a backup of all your important data – it’s not like you’re going to lose the data but you can’t blame me if anything goes wrong. So it’s better to have everything backed up before you start.

Although, step by step manual is described below, this screencast may help you a lot.

Step by Step Instruction for installing Ubuntu 12.04

step 0. Make Sure, You’ve backed up your important data

First of All, Backup All Your Important Data (either online, using Amazon s3 or offline or whatever way you prefer – but you must have backed up your critical data before moving to the next step)

step 1. Create USB installer

Download Ubuntu 12.04 ISO (according to your computer architecture such as 32 bit or 64 bit, and of course the Desktop Edition)

If you’re using Windows 7(most probably you’re, otherwise you wouldn’t be reading this, just kidding :-) move on) or XP/Vista – then create a USB installer using the application – Universal USB Installer. It’s quite easy – download and run this installer – and locate the ISO file, select the target USB drive.

If you’re using any older version of Ubuntu such as 11.10 or 10.04 then there is one application you need to use – Startup Disk Creator, installed by default on Ubuntu. Run the application, locate the ISO image and make your pen-drive bootable.

Anyway, at the end of this step – you must have a USB stick installer for Ubuntu 12.04.

step 2. Initiating Installation procedure

Now, you got the live usb installer for Ubuntu 12.04 LTS, restart you computer and boot it from the installer. If there is any booting problem check your BIOS settings – it should be able to boot from a USB and the priority should be #1 (although it’s not really required if you manually select the bootable media).

First look at Ubuntu 12.04 (with the default Unity interface)-


Click on Install Ubuntu 12.04 LTS button to start the installation process – although you can get an overview without even installing it on your hard-drive.

welcome window

Now select Language – The default is English, but Ubuntu supports a lot of other languages – so you can run ubuntu in your native language.


Now’re you’re ready to install Ubuntu 12.04 on your hard disk. Although Internet connection is recommended but it’s not strictly required during installation as you can always updates or install new packages later. In some cases – Wifi network it may not be detected automatically – just relax you can configure that later.

preparing to install Ubuntu

step 3. Create hard drive partition for Ubuntu

Select Installation type – ‘something else’, the third option as it’s the safest method and you get more control over what’s going on.


Now you need to create a ext4 partition for Ubuntu 12.04; use the partition manager – swap out Windows (if you don’t want to keep windows) or unused partition or create new partition from existing hard drives.


Now click on Free Space -> Add -> Create Partition.


select the target partition (check the box), where Ubuntu 12.04 will be installed.


Until now, no hard disk changes has been committed – Now you can click on install Now button to begin installation.


step 4. Installing Ubuntu 12.04

Select your physical location from Map.

Select Your location

Next, choose the keyboard layout, if you’re not sure what option you should choose – then you should probably go for default value.

choose keyboard-layout

Enter the user (You, the sudo user) account detail – that will be created during installation procedure (you can create/manager user later).

creating user-account

Wait until the installation process is complete. If you’re connected to internet – it may take little extra time because of update/extra language packs – if you don’t want them, then skip those steps. (if don’t get it clearly, then watch the video)


step 5. Finishing Installation – Restart!

Restart the Computer
Have Fun :-)

Update1 : BIOS settings related details added. Thanks to @Eric Criens.


XBMC 11.0 Eden for Ubuntu 12.04/11.10

XBMC version 11.0 EDEN has released! If you’re already using XBMC on Ubuntu 11.10 or 12.04 (or older versions) then you may update it, on the other hand if you haven’t tried it yet, then give it a try! It’s the coolest Media Center. The new version of XBMC has released with a lot of cool improvements, specially in the default skin and add-ons. Now, it’s faster, better library and networking support and the JPEG decoder has been updated and a lot of other things has changed/improved!

XBMC is a Media Center Application – (like Windows Media Center, but actually it is far better than Damn WMC), it has lot of features – so you can enjoy the Home Theater experience with XBMC.


Update XBMC to 11.0

If you’re already using XBMC then you can update it by executing the commands (if the PPA you’re using are no longer maintained or updated then you might want to install it again from the PPA given below)

sudo apt-get update
sudo apt-get upgrade

Install XBMC 11.0 in Ubuntu 12.04/11.10 from PPA

I’ve already explained in detail about installing XBMC Media Center in Ubuntu 11.10/12.04; in short all you need to do is to add the PPA, update the package cache and install it.

sudo apt-add-repository ppa:nathan-renniewaldock/xbmc-stable
sudo apt-get update
sudo apt-get install xbmc

Django 1.4 for Ubuntu 11.10/12.04

Django is one of the coolest web application development framework, for Python developers. Django is a free and open source web development framework (released under BSD license). Django is easy to learn and allows Rapid Development with clean and pragmatic approach (in design).

Recently Django version 1.4 has released but in Ubuntu 12.04 beta or 11.10 or any older versions you can’t get the latest version from the official package repository (In 12.04 Beta 2, the latest version was 1.3). So if you want to try latest version of Django on Ubuntu, then you must install it either from a PPA or manually from source code or by other means.


How to Install Django in Ubuntu

Django 1.4 requires Python 2.5 or later but you shouldn’t wory about that because in Ubuntu, Python 2.7 is installed by default. Open a terminal and execute these commands (you need sudo privilege, just enter your login password) :

wget ""
tar xzvf Django-1.4.tar.gz
cd Django-1.4
sudo python install