To install JDk 6 (Java Developement Kit 6 ) in ubuntu 10.04 from the command line, we just need to use the following command. This will install all other dependencies automatically. sudo apt-get install openjdk-6-jdk
Here is an example to install the font 'Times_New_Roman.ttf': 1.copy font the new font to </usr/share/fonts/truetype> sudo cp Times_New_Roman.ttf /usr/share/fonts/truetype 2. Restart your machine OR just Clear the font cache sudo fc-cache -fv