Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-22-2008, 09:01 PM   #1
LQ Newbie
Registered: Feb 2008
Distribution: Fedora 8
Posts: 4

Rep: Reputation: 0
How do I extract from .tar.bz2 to hard drive?

This seems like a really stupid question in a sense, but I've been struggling for a while and I'm completely confused. I've only had Fedora installed for about an hour, complete newbie but it feel like it should be pretty obvious.

I've opened a .tar.bz2 file fine in the archive manager, then I'm able to extract it... the problem is I've got no idea where to extract it. It's Azureus, and judging by the contents I'm guessing it should just extract directly into a folder, then run. I suppose in one sense I'm looking for a Program Files type directory, but even if I try creating a new Azureus folder I'm told 'access denied'. I must be missing something obvious, but I don't honestly see what

I don't properly understand the file structure, I feel a bit lost really.
Old 02-22-2008, 09:12 PM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
I would put the extracted directory into /opt. If its just yourself using the system, you could create /home/user/programs and place it in there. There isn't anything similar to Program Files in Linux and if you want to understand more about the filesystem structure on Linux, take a look at the FHS. Permission denied errors can happen if you try to write to places where only root has access. You will have to switch to root using the su command in a terminal or start a file manager as root (if using kde its menu -> system -> file manager -> file manager super user mode).

Last edited by reddazz; 02-23-2008 at 02:05 PM. Reason: typos
Old 02-22-2008, 09:43 PM   #3
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Nice little filesystem table
Redazz is right about getting the complete(ish) information

As far as Azareus, most programs will have a README and/or INSTALL type of file that should give you information to get you up and running. You don't say whether there was any documentation (there'd almost have to be a website and documentation at it, at least) or whether you read it. Again, Redazz probably got you going but, for future issues, these things help.
Old 02-22-2008, 09:47 PM   #4
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 23 Fedora 22
Posts: 244

Rep: Reputation: 37
Why not use yum and install azureus and save yourself the bother:
# yum install azureus
and you can also use "yumex" and browse all of the packages with a gui also:
# yum install yumex
once installed go to Applications>System Tools>Yum Extender or use "Add/Remove Software" to browse a list of all of the packages available from the Fedora repos. If you choose to build "azureus" read my edit.

EDIT: You already have a home directory so there is no need to create one. You can place the "tar.gz" in your home directory and right click on it and select "Extract Here" and a directory will be created with the "untarred" files. Make sure to read "README" and "INSTALL" that should contain any pertinent build info. You will also have to have the necessary tools installed to be able to build the package before starting.

Last edited by Ryptyde; 02-22-2008 at 10:19 PM. Reason: add info about building
Old 02-22-2008, 10:00 PM   #5
LQ Newbie
Registered: Feb 2008
Distribution: Fedora 8
Posts: 4

Original Poster
Rep: Reputation: 0
Yeah, the readme seemed quite limited with Azureus - it said that you needed to extract it, but not where to extract it to... having read the post by redazz, I now see why! I guess it's just adapting away from the stuff I've been used to for so long. Thanks for the information both of you.

EDIT: I didn't realise it was possible to do it via yum. I'll check yumex out now, thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to extract a "tar.bz2" file? deWin Linux - Newbie 14 08-09-2016 09:49 AM
extract 1 file out of a .tar.bz2 oldsko0l Linux - Software 7 10-15-2006 07:14 PM
tar.bz2 Fails To Extract carlosinfl Linux - General 6 10-16-2005 01:33 PM
extract .tar.bz2 EcceVery Debian 3 11-24-2004 01:39 PM
How to extract tar.bz2 files? akihandyman Linux - Newbie 3 12-21-2003 04:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration