Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to install a .tar.gz (or .tar.bz2) file?
How can I install Sun/Oracle’s proprietary Java 6/7 JRE or JDK?

i have just download a file jre-7u7-linux-x64.tar.gz and i am new to ubuntu so i don't know how to install it. i only can install a software from software center. can someone help me to install it on ubuntu 12.04 os and tell me the steps so that another time i don't need to ask question to install a file.

share|improve this question

marked as duplicate by Achu, hhlp, fossfreedom Nov 7 '12 at 15:44

This question was marked as an exact duplicate of an existing question.

Here's howto install Oracle java. – mikewhatever Nov 7 '12 at 14:36
sudo tar -xzf archive.tar.gz. This is used to unzip the archive. – Raghunandan Nov 7 '12 at 15:43