Ubuntu: Extract tar.bz2 archives

by on Jan.16, 2011, under Linux (Ubuntu)

Recently I wanted to extract a tar.bz2 file. Usually I always used an application called bunzip2 for this purpose, however I wanted to find out whether there was a way to extract those files with tools that already ship with Ubuntu or not. After doing some research I found out tar.bz2 files can be extracted with the following command:

tar jxvf firefox-3.5.tar.bz2

And that’s it! Please keep in mind that you have to install bzip2 in order to use the above command.

apt-get install bzip2

2 Comments for this entry

Leave a Reply


Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!