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

How can I install a tarbz2 package. Example: I have downloaded firefox 8 tar.bz2 . I want to know a general method for installation of tar.bz2 package.

share|improve this question
see this answer man.. – skumara Nov 25 '11 at 3:34
up vote 5 down vote accepted

In general, to install a tar.bz2 (or .tar, or .tar.gz, or tar.xz, or, rarely, .tar.Z), see this guide. Please note that the specific flag to indicate to the tar command that you want to extract (or create) a bz2-compressed archive is j.

However, you should probably not install Firefox 8 from upstream sources, as you seem to be trying to do. That is not the best way to get it, other programs that depend on it would not necessarily know that it was installed, you would not benefit from changes made specifically for Ubuntu (if any), and you would not automatically receive updates (including security updates)--instead, when a new version comes out, you would have to manually compile and install that version.

Instead, you should probably update to Firefox in the recommended way for Ubuntu:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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