Tag Archives: natty

installing eclipse ide on ubuntu 11.04

how to install Eclipse IDE on Ubuntu 11.04

Nowadays, IDE i.e Integrated Development Environment is used by most of the Programmers and software developers, as it provides sophisticated software development environment; features like – auto code completion, easy testing and debugging, syntax coloring, framework integration etc. So IDE creates a layer of abstraction, that is certainly helpful for production environment, but may not be good for novice programmers (due to abstraction layer created by IDE, they might lack some background concepts).

There are a number of IDEs available in the Market, but few open source IDE like Eclipse and NetBeans are the most popular. Eclipse IDE is a multi-language software development environment, written in java and available for all platforms like Linux based OS, e.g Ubuntu 11.04 (Natty Narwhal), Debian, Linux Mint, etc, Windows and Mac OS X. Eclipse is a free and open source software (Available under Eclipse Public License, very close to GPL), developed by FOSS community.

Eclipse is the most popular IDE among the Java developers. Eclipse architecture is very flexible and modular, so eclipse is well suited not only for Java programming (with JDT (Java Development Tools) ), but also for C/C++, with CDT (C/C++ Development Tools) components. Most of the frameworks and environments are well suitable with Eclipse; functionality can be easily added with plugins. On Ubuntu 11.04, you can use synaptic package manager or Ubuntu software center or shell to install eclipse in few clicks.

Installing Eclipse IDE on Ubuntu 11.04

Install Eclipse IDE from Ubuntu Software

#1 : Go to main menu (Top Left Corner) and search for ‘ubuntu software center’ or just open it from left econ bar.

#2 : Now, search for ‘eclipse’ in quick search bar.

installing eclipse ide on ubuntu 11.04

#3 : Click on more info (if you want to know more(like Ratings, reviews) before installing, generally recommended), then click on install to begin (You may have to enter your login password), wait until the installation is complete.

#4 : That’s all..you can access it from the main menu (just type ‘eclipse’).

Download and install

Get eclipse from its official website and extract it to any directory (say ‘home’) and make it executable using chmod command, add a path variable (to access directly) if required.

Download Eclipse IDE

Then extract it to the directory ‘/home/your_username’ and make the eclipse.sh file executable using the command-

sudo chmod +x eclipse.sh

Eclipse IDE on Ubuntu 11.04

installing-mysql-on-ubuntu-11.04

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.

installing-mysql-on-ubuntu-11.04

#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

google-chrome-on-ubuntu-11.04

how to install Google Chrome on Ubuntu 11.04

A short Introduction : Google Chrome (a free and open source web browser), derived from the Chromium Web Browser (Open Source Project) , has been developed and maintained by Google Inc. Google chrome is available for Windows, Linux based OS such as Ubuntu 11.04 (Natty Narwhal) and Mac OS X. The most important thing about the Chrome is that – it’s popularity(as well as some features) has increased exponentially; it provides all the features and functionality that a modern browsers should provide. Google Chrome is one of the most popular web browser on this planet.

If you have just installed the Ubuntu 11.04, then you got Mozilla Firefox installed by default. Mozilla Firefox sucks on Ubuntu or any other Linux Distribution, but people(specifically web developers) still uses it due to some plugins like Firebug,PageSpeed , which were not available in other browser, but Now, most of them is available for Google Chrome. Google chrome has minimal designed interface, optimized for speed. Surfing (Experience) is fun (Fast, Secure), when you have Google Chrome. it has some advanced features like – Instant Loading (load the page as you type the URL in the Address bar), Pre DNS Fetching (Perform the DNS look up of the links on the loaded page, in the background) etc to boost the browsing speed.

Installing Google Chrome on Ubuntu 11.04

Google Chrome can be installed in many ways, on Ubuntu 11.04. Here I’ll explain few simple methods. You can also install Chromium (almost similar to Google Chrome), it is available in Ubuntu Software Center or Synaptic Package Manager. Just follow the steps –

step #1 : Go to its official website and download the Debian Package. Google Chrome version 10.x.* is the latest one.

Download the Google Chrome for Ubuntu 11.04

step #2 : Open the saved file with Ubuntu Software Center (Right Click on the Package, then select Open With USC; click on install Button to proceed) or Use the dpkg command to install the package. To install from the command line, type the command given below and enter your login password to proceed.

sudo dpkg -i google-chrome-stable_current_i386.deb

step #3 : That’s all.. No more steps.. Enjoy surfing with Chrome.

Here is one snapshot, how Google Chrome looks on Ubuntu 11.04 –

google-chrome-on-ubuntu-11.04

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)

requirements-ubuntu-11-04

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

allocating-drive-ubuntu

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

drive-partition-ubuntu-1104

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

select-region-installing-ubuntu

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

select-keyboard-layout-ubuntu

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

login-information-ubuntu

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)-

ubuntu-11-04-snapshot

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

installing adobe flash player on ubuntu 11.04

how to install adobe flash player in ubuntu 11.04

Ubuntu 11.04 (alias : Natty Narwhal ) has got new Desktop – Unity ; Although you can switch to classic GNOME Desktop from the login menu, if you want (for any reason – may be you don’t like the Unity desktop or your computer doesn’t support the 3D effects in unity), but it’s not recommended, give it a try you might like it.

All other features are almost same, so as usual – Ubuntu 11.04 doesn’t include some basics softwares and libraries by default, due to licensing problem (just relax you don’t have to worry about that). Ubuntu Software Center has ratings/reviews and comments, so it will be very helpful in choosing/installing applications. Banshee is the default media player and Firefox 4, the default Web Browser. The left icon bar , is pretty good for launching favorite apps quickly.

installing adobe flash player on ubuntu 11.04

That’s enough about Ubuntu 11.04! Let’s come to our point – how to install adobe flash player on Ubuntu 11.04, because you want to surf Internet (having more than 60% websites, with Flash content), and of-course a flash player is required. That’s where the adobe flash player comes in the mind , The best flash player available free of cost for all web browsers. it can play videos in youtube and flash games or any other flash content on the web. In upcoming few years, we may not need any flash player because of the new features of HTML 5.0 , but currently all browsers do not support it well, specially Firefox and Internet Explorer.

Installing Adobe Flash Player on Ubuntu 11.04

#1 : Download the *.deb (short for Debian) package for your system.

Download Adobe Flash for Ubuntu 11.04

#2 : Open the saved file with Ubuntu Software Center or use dpkg to install it from command line (Enter login password when prompted).

  sudo dpkg -i file_name.deb

#3 : That’s All ..Now restart the Firefox browser and enjoy videos and flash content over the web.

Alternative Way

Go to menu located in Top Left corner and search for ‘Ubuntu Software Center’. Now open Ubuntu Software Center and search for “adobe flash” and install it in a single click But above method is better if you want to install latest version or install it from synaptic package manager (don’t forget to click on reload button in the beginning itself, for latest information regarding the packages). The process is quite simple – search for ‘adobe flash’ and mark the box for installation which says – ‘Adobe Flash Plugin’ ; Now click on Apply button to install the selected package(s).