Installing JRE in Mandriva

source : http://www.java.com

Tips

Download Linux RPM (self-extracting file) from HERE or HERE . filesize is 19.38 MB.

After you download it follow these instructions:

1. At the terminal: Type:
su


2. Enter the root password.


3. Change to the directory in which you want to install. Type:
cd <dir name>
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java

Note about root access: To install Java in a system-wide location such as/usr/local, you must login as the root user to gain the necessary permissions. If you do not have root access, install Java in your home directory or a subdirectory for which you have write permissions.


4. Change the permission of the file you downloaded to be executable. Type:
chmod a+x jre-6u<version>-linux-i586-rpm.bin


5. Start the installation process. Type:
./jre-6u<version>-linux-i586-rpm.bin

This displays a binary license agreement. Read through the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation.

6. The installation file creates jre-6u<version>-linux-i586.rpm file in the current directory.


7. Run the RPM command at the terminal to install the packages. Type:
rpm -iv jre-6u<version>-linux-i586.rpm


8. Java is installed in jre1.6.0_<version> sub-directory under the current directory. In this case, Java is installed in the /usr/java/jre1.6.0_<version> directory. Verify that the jre1.6.0_<version> sub-directory is listed under the current directory. Type:
ls

your output would resemble the one below .

The installation is now complete. Go to the Enable and Configure section.

Minimized apps to appear in Taskbar+mp3 support for Amarok

Tips

Simple tips  for the Kubuntu nOOb

(The following tip is based on Kubuntu 8.04)

Q.) How to make the minimized applications to appear in the taskbar ?

A.)Right click on the task bar ->Add  applet to panel ->Taskbar (the default taskbar for window management)

In this way you can add applets like Login/Logout ,Application launcher ,Trash bin etc

Simple tips  for the Ubuntu nOOb

(The following tip is based on Ubuntu 8.10)

Q.)  How to install  mp3 support for Amarok in Ubuntu ?

A.)  First open /etc/apt/sources.list in root user mode and un-comment the following lines

deb http://in.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://in.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://in.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://in.archive.ubuntu.com/ubuntu/ intrepid-updates universe

save and exit .

Next  open the terminal (Applications->Accessories->Terminal)

Execute the following line

sudo apt-get update

Next , atleast one of these commands executed in the command line should do the  final work :

sudo apt-get install gstreamer0.8-mad

or

sudo apt-get install libxine-extracodec

or

sudo apt-get install libxine1-ffmpeg

Finally , restart Amarok and enjoy the mp3 songs .

Due to some legal issues in some countries, Ubuntu doesn’t come support for mp3 playback, Java runtime environment, DVD playback and Flash.

Execution of the following command is an one time solution to install the above supports in Ubuntu .

sudo apt-get install ubuntu-restricted-extras

Additional readings :