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

This question already has an answer here:

I am new to Ubuntu and I would like to know how I extract a tar.gz file. Thanks!

share|improve this question

marked as duplicate by Takkat, Mik, Jorge Castro, hhlp, Vojtech Trefny Feb 27 '13 at 22:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

If you want to have a great Ubuntu experience, then do not run an unstable development alpha release (13.04) and do not install software from tar.gz files when you are new to Ubuntu. Both can easily make you believe Ubuntu is unstable, which it is not. – Takkat Feb 27 '13 at 19:34
tar -xzf [filename]

will extract. To see the contents before extractring try tar -tvzf [filename]

share|improve this answer
Do I have to put the filename in brackets? – user1978786 Feb 27 '13 at 19:29
no, you do not need the brackets. – Ruediger Feb 27 '13 at 19:31

You can use the graphical tools, file roller, or the command line.

file roller


Or the command line:

tar xzvf file.tar.gz
share|improve this answer

Right click on the tar.gz file and select the extract here option from the drop-down menu, and it will be extracted on the same folder as the compressed file.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.