Tag Archives: how to


How to install MySQL on Ubuntu 11.04

MySQL is the most popular database, mostly used in developing database driven websites or in other words web Applications (Web Apps or Apps). it’s Free and open source. MySQL is a Relational Database Management System (RDBMS), that runs like a server and serves the requests (usually CRUD (Create, Retrieve, Update, Delete) operations) from the clients.

On Ubuntu 11.04 (Alias : Natty Narwhal) , if you want to use any database server, then of course MySQL is the best choice. This post will guide you in installing MySQL server/client (current version : 5.1) from Synaptic Package Manager or Command Line. In last I’ll also show you, how to connect to the MySQL database at the Terminal/shell, although you can also install use graphical tool to manage MySQL database – e.g MySQL Query Browser, MySQL Administrator or phpMyAdmin. MySQL is very popular in the combination of : LAMP – Linux, Apache, MySQL and PHP.

Installing MySQL Server on Ubuntu 11.04

From Synaptic Package Manager

#1 : Open Synaptic Package Manager and search for ‘mysql’. Then select (check the box) the mysql server 5.1 to install. If you want to install some other packages, then click on yes, if it asks for dependencies.


#2 : Then click on Apply and wait for the installation to complete.

#3 : In the , middle of the installation you will be prompted to Enter the MySQL ROOT Password. Enter a good password for that, but remember!, you need this password to manage the MySQL databases and users, so don’t forget!!

mysql root password

#4 : Relax, until the installation is complete.

From Terminal

sudo apt-get install mysql-server

Now you can connect to MySQL server using the command (In the example the Server Address : localhost, Username : root) –

mysql -h localhost -u root -p

Then Enter your Password (ROOT Password, that you entered in step #3) to connect to the server running at localhost.

Connecting to MySQL server

Universal USB Installer

how to install Ubuntu 11.04 : From USB or CD

Ubuntu 11.04 or Natty Narwhal (code name) is the successor to Ubuntu 10.10 (Lucid Lynx), with a lot of major improvements in user interface and interaction (it’s more slick, fast and better looking than its previous versions).

Ubuntu 11.04 has Unity Desktop as the default desktop (although classic desktops are also available in login menu), instead of GNOME as you expected (because Ubuntu has been using gnome from the beginning). Some other features has been added – e.g Ubuntu Software Center has now ratings (in terms of stars) and reviews(in the form of comments) available for each application, Windows options has been shifted to panel (top),which appears on Mouse Hover…and so on. Ubuntu has now become the most popular Linux distribution among the desktop users. it’s open source, free, user friendly, fast and in short ..it’s a lot of Fun!

Ubuntu 11.04 can be installed in many ways – You can install it from USB(Universal Serial Bus) or CD (or you can just boot your system from Live CD/Pendrive without affecting your existing operating system on your computer). In this post, I’ll cover both the methods – step by step with full explanation – installing Ubuntu from USB as well as from CD/DVD. This guide will help you in installing Ubuntu in parallel with other OS like Windows 7, if you want only Ubuntu, then it’s much easier, but not recommended if you play a lot of Games or you use some softwares that is windows dependent.

Installing Ubuntu 11.04 from USB Drive

step #1 : Download the ISO Image from it’s official website. Select the correct architecture and download the iso file.

Download Ubuntu 11.04

step #2 : Create a bootable USB  using  Universal USB Installer (a windows application that will create a bootable/live USB from the ISO file of Linux Distros, it supports a number of Linux Distros including Ubuntu 11.04 ).

First,  Download USB Installer and execute it, you will get a windows something like this (On Windows 7) –

Universal USB InstallerSelect the Ubuntu 11.04 in Linux Distribution menu and locate the ISO File(You got it in step #1), although in most of the case it will automatically detect it. Now, select the USB Drive, which you want to make bootable, check the format option if you haven’t already formatted it. Then the click on Create button to begin the process..wait for few minutes until the installation process is complete.

Bootable USB for Ubuntu 11.04step #3 : Now restart your computer and boot from USB (If there’s any problem then Change BIOS settings to enable USB booting or change the priority order..). Then select – install Ubuntu to your hard drive from boot menu or click on ‘install Ubuntu’ after live booting from USB. Now a lot of screenshots(That I’ve taken during the installation stage) will help you –

Ubuntu 11.04  - installation

After selecting the language, click on Forward button. In next window, you will be asked to ensure that – your system satisfies its minimum requirements – like 4.4 GB Drive space, and it’s recommended to have Internet Connection (Preferably Wired,Wireless might works but I haven’t tested) during installation (so that it can download the necessary packages and updates)


step #4 : Now this is the most critical step, where most people feel difficult in dealing with Ubuntu or any other Linux Distros.


If you haven’t installed any other version of Ubuntu then you will get only two option –

Option – 1 : Erase Everything and Reinstall – it will delete everything (all the data/files and other OS like Windows 7) and reinstall Ubuntu 11.04 on your hard drive. If you select this option then you can skip few steps, although it’s not recommended, better go for second option.

Option – 2 : Something Else / Advanced Partition – it’s not so difficult as it seems. No files will be deleted and if you are using Windows 7 and want to use both Windows and Ubuntu in parallel, then this is the correct option for you. When you choose this option 2nd,

drive-partition-ubuntuNow select the hard drive(if you have more than one), then the partition, where you want to install. After selecting the partition, first un-allocate/delete, then select that free space and click on Add. Then specify the details like –

  • Partition Type – ‘Primary’
  • File System – ‘Ext4’
  • Mount Point – ‘/’
  • Beginning


Then click on ‘Install Now’ button to proceed.

step #5 : Now Enter some basic information during the installation procedure and hit Forward button.

Your Geo-Graphical Location – Select your country from the Map


Then, select the keyboard Layout, leave it default if you aren’t sure.


Then Enter some basic information like – Your Name , Computer Name, Login Info (Username, and Password).


Then relax (or You may skip some language packs during the installation to reduce the installation time) until the installation is complete.

step #6 : That’s All. Did you expect more steps, sorry to disappoint you.. Restart the computer.

Here is a Snapshot of Fresh installed Ubuntu 11.04 (If you don’t like the default desktop unity then switch to the GNOME in the login window)-


Installing Ubuntu 11.04 from CD

Procedure is same as described above, just skip the 2nd,3rd and 4th steps, Instead of that burn the ISO file to CD or DVD and restart your computer. Then follow the steps 4 and 5 as described above.

If you have any problem during installation, then let us know, Reply through the comment box.

Have Fun! with Ubuntu 11.04


how to uninstall a program on ubuntu

Ubuntu 10.10(Maverick Meerkat) is the latest stable version; Ubuntu 11.04 (Natty Narwhal) is coming soon(it will be released in the end of this month). Linux distros were already very popular in Server and other computational/research field but now it is also a popular choice among common desktop users. All this happened, due to the Linux Distributions like Ubuntu,Linux Mint; that came with great desktop experience(with a lot of simplicity).

Installing/Uninstalling programs on Ubuntu is Really Difficult or Fun!

I have been using Ubuntu from years and I can certainly say that – Linux Mint/Ubuntu is simple to use like the Windows or Mac. Installing Program in Ubuntu is as(probably more) easy as windows, just in single click from the Ubuntu Software Center. That set, then where’s the catch ? The problem is the Dynamic Libraries. Ubuntu or any other Linux Distros are very dynamic and the libraries are shared(centrally) by all programs, so dependencies problem occurs. So the software packages(for Ubuntu)  are not shipped with all the dependent libraries so if you want to install a program then its dependent library must be installed in order to execute it successfully.

Thanks to the Advanced Synaptic Package Manager, which handles Dependencies in a much smart way, it automatically recommends all the required library when you try to install a software. Now you may think that installation is easy.. “ok dude I’m agree”, but what about uninstalling or removing a program,package or software ? Is it as easy installation ? Of course it is! Relax.

UnInstall/Remove software/programs in Ubuntu

Method #1 : Using Synaptic Package Manager


Open Synaptic package manager and search for the program/packages you want to remove then mark the box for removal/complete removal(it may create dependencies problem so better go with other). Then click on Apply button to remove the selected packages. In the above picture, I’ve selected the program named – ‘tango GPS’ for removal.

Method #2 : From Command Line

The most common type of syntax for removing a program/package is explored below but you need to authorize (Enter your login password)  and confirm (Type y for ‘yes’ or n for ‘no’, if you have changed your mind);  then wait for few seconds until the job is complete.

$ sudo apt-get remove program_name_you_want_to_remove

Here is one real example,which will remove the kdissert, a mind map tool, program with the command –

$ sudo apt-get remove kdissert

how to install vlc player on Linux Mint 10

Linux Mint 10(code named as Julia) has just launched(a week ago). Linux Mint has a media player installed by default but it’s not sufficient for playing all formats. That’s why this post will explain(specially written for beginner users, probably who have just migrated from windows based operating system to Linux based distribution or Linux Mint) about how to install vlc media player(which is the most popular media player) on Linux Mint 10/9.

VLC Media Player has been developed/maintained under Video LAN Project. it is free,open source and cross-platform(Available for all the common operating system). VLC player is known as ‘All in One’ media player, because it can play all the common media file – audio as well as video. So vlc player is a ‘must have Apps’ for all computer users – beginners as well as advanced. The source code of the vlc player is available freely under GNU GPL license, so it means that you can’t only play the media files but also with the vlc itself.


Install VLC Media Player on Linux Mint

You can install either from the package manager or from the command line.

From Package Manager

>>Search for ‘vlc’ and select the package for installation(using check box)

>>Then click on Apply button and wait for the installation to complete.

>>That’s All..

From Command Line

Open the terminal and enter(also enter password,if prompted) the command(s) given below –

sudo apt-get install vlc vlc-plugin-pulse mozilla-plugin-vlc

NOTE : libdvdcss2 is required by vlc,so if you haven’t installed the restricted package already then this link help you(it is written for Ubuntu but I think it will also work for Linux Mint) – Playing Encrypted DVD on Ubuntu .

change themes in ubuntu

how to change theme in ubuntu 10.04/10.10

Ubuntu 10.04(Lucid Lynx)/10.10(Maverick Meerkat) has a lot of ‘good looking theme’ installed by default; so you can switch between them whenever you want.So this post will explain you about- how to change themes as well as about how to install new themes on Ubuntu.

Radiance,Ambiance,Clearlooks etc are the themes which is installed by default.Ubuntu uses GNOME as a default desktop,which in turn implies that you can control the look/appearance of Ubuntu as you want,the only limit is your imagination(Kidding Huh!).

change themes in ubuntu

Change Theme in Ubuntu 10.10/10.04

Go to System->Preferences->Appearance and click on theme tab.Another shortcut is – Right click on Desktop then select Change Desktop Background ->Theme.Now select the theme(by left clicking on it) you want to try from the list of available themes.You will notice the change immediately.When you are done just close the window.That’s All.

changing themes on ubuntu 10.10


Installing New Theme in Ubuntu 10.10/10.04

In appearance window,click on theme -> Install ; locate the theme package and install the new theme in a couple of clicks.You can install new themes by extracting the theme files into user->theme directory.Some times you may need to manually run the theme installer script(install.sh) from the theme file,to install the special themes.e.g macbuntu theme.For more help go here –Install mac theme on ubuntu.If you are searching for new cool themes for ubuntu then here is some selected top 10 ubuntu themes that you must try.