JAVA is now the most widely used programming language for creating applications for web,gadgets,business…So you may want to install JRE(Java Runtime Environment) on your ubuntu 10.04 LTS for compiling and running JAVA based application.
Installing JDK through Command Line in Ubuntu 10.04
Use the following command to install JDK(Java Developement Kit) 6 on your Ubuntu 10.04 LTS
sudo apt-get install openjdk-6-jdk
It will automatically install other dependencies.
Install JAVA(JDK-JRE) from SPM(Synaptic Package Manager) in Ubuntu 10.04
First,search for JDK/java and select the package openjdk-6-jdk by marking for installation.It will ask you to mark some extra dependent softwares for installation,just click ok.Then click on Apply to start the download and installation process.Wait for few minutes until the downloading process will complete and installation will begin.JDK will be installed within few moments.In middle of the installation it will ask you to accept license terms for JRE,check the box to accept the license terms.You are now ready to use Java Development Kit(JDK) for creating java applications.
More Tutorial on How to compile and Run Java programs on Ubuntu 10.04
Database management system is necessary every where whether it’s a web application or other business purpose software;in ubuntu 10.04 you may like to use MySQL,the fastest database management system for web applications.
MySQL is one of the most widely used database management system and it is light,free and open source so it is also in resonance with ubuntu philosophy.The aim of this post is to help you in installing mysql on your ubuntu 10.04 to help you in getting started with mysql.
Install MySQL on Ubuntu 10.04
1. First,Open SPM(Synaptic Package Manager) from System->Administration->Synaptic Package Manager.Enter your password(Ubuntu login account) if it ask else,proceed to next step.
2. Now search for “mysql” by using the Quick Search box(on Top Upper part of the window).
3. Mark the package’s box you want to install e.g my sql client ,server ….
4. Now click on Apply to begin the installation(Followed by downloading process).
5. After few minutes,when the download will complete,installation begins automatically.It will hardly takes couple of minutes.In middle of installation you will have to enter root password for MySQL server.Enter a strong password for that.
6. You have installed MySQL(Client/server) on your Ubuntu 10.04 Lucid Lynx.
7. That’s All…if you find any problem in installing mysql,let me know through comments.
Using MySQL in Ubuntu 10.04
To access Mysql server you can use following command in the linux terminal.
General format of the command
mysql -u user -h host -p (After hitting enter it will ask for mysql user’s password)
Running as localhost
mysql -u root -h localhost -p (Enter the root password that you entered at the time of installation)
You can also install MySQL query browser(From Ubuntu Software Center) to make this process more simple.
If you have just installed the Ubuntu 10.04 on your computer and wondering for a software to open .RAR file ..this post will surely help you.The fact is that,after fresh installation of ubuntu 10.04 you will have to install some extra software(like Adobe Flash player,VLC player,CSS library for encrypted dvd playback..) for basic needs(If you have installed Ubuntu 10.04 from standard CD).
Install RAR Compression and Decompression Tool in Ubuntu 10.04
To Open RAR file(or to make rar file) you will have to add an application to Archive Manager so that it can handle with RAR files.Follow these steps to install RAR application-
1. Open Ubuntu Software Center or Synaptic Manager and Search for RAR.
2. Click on install to proceed for installation.
3. Wait for few minutes to finish the download and installation will begin automatically …and finish within few moments.
4. Installation completed successfully…now to open .RAR file,just click(right) on them and open with archive manager(or use double click).Everything will work expected and you would be able to extract rar files easily.
Ubuntu Control Center is developed(Inspiration is inherited from Mandriva Control Center) specially for new users or those who are coming from windows XP vista or 7 because it’s purpose is to control the system applications and programs centrally like Windows Control Panel.Since Ubuntu 10.04(Or its older versions) is primarily focused on desktop experience,that’s why the application management and administration may become much easier and more efficient after installing UCC(Ubuntu Control Center).
Install Ubuntu Control Center
step1 : In order to install ucc first you have to install another software(Dependent Software)-Font Manager.You can install font manager by using Gdebi Package Installer.First download the package(e.g font-manager_0.5.3_i386.deb).
download Font Manager
Then install it by opening with Gdebi Package Installer or save it to your computer and later double click(Or right click to open with Gdebi Package Installer).It will hardly take few minutes.When it installs successfully then proceed to next step.
step2 : Now you can install Ubuntu Control Center.First download the appropriate package(e.g ucc_i386.deb).
download Ubuntu Control Center(ucc)
Then install it in the same manner(described in step1) either by selecting open with Gdebi package installer or by double clicking on it.
You can also install it from the Command line.First Open the ubuntu shell/terminal and then go the directory in you have placed the .deb package.Then Apply the following command to install any debian(.deb) package.
sudo dpkg -i package_name.deb
Now you can access it from Applications->System Tools->UCC.One more screenshot of UCC :
When it comes to programming(C/C++ or other ),Ubuntu 10.04 or any distribution of Linux is far better than Windows NT based Operating system(windows XP or Vista or 7).In general people uses TurboC++ on windows but in Ubuntu 10.04 advanced and much efficient compiler are available for compiling C or C++ programs.Some people or students think that programing in Linux is very tough(Actually they feel scary due to the shell Commands) but I assure you that it is nothing but a misconception.But now,I think the misconceptions are decreasing and they are becoming familiar with Ubuntu/linux environment.
Text Editor in Ubuntu 10.04
Since Ubuntu 10.04 uses GNOME as their default desktop so there is no need to worry about text editor because Gedit text editor is installed by default.It has many advanced features like Syntax coloring so it is well suited for programming.Another KDE based version is also available Kwrite,similar to gedit with lot of features.
C Compiler for Ubuntu 10.04
For C program there is a modern compiler GCC(GNU Compiler Collection) which you can use to compile C programs.To install gcc type following command at command line.(It may be installed already)
sudo apt-get install gcc
Compiling C program in Ubuntu 10.04
user1004@user1004-desktop:~/Desktop$ gcc abc.c
*********Hello! Mr.X it’s working Enjoy!!******
C++ Compiler for Ubuntu
For C++ programs you can use G++ compiler an advanced compiler with lot of features.To install G++ type following command at command line.
sudo apt-get install g++
Compiling C++ program in Ubuntu 10.04
user1004@user1004-desktop:~/Desktop$ g++ decbin2.cpp
Enter the decimal number to be converted
The Equivalent binary number is 010111
IDE(Integrated Developement Environment) for programming in C and C++
For programming in c++ these are the most widely used IDE’s
- Frama C
More details on available IDE on Ubuntu-Linux