LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-22-2008, 08:01 PM   #1
snootyjim
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, 08:12 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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 01:05 PM. Reason: typos
 
Old 02-22-2008, 08:43 PM   #3
slakmagik
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, 08:47 PM   #4
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 23 Fedora 22
Posts: 244

Rep: Reputation: 39
Why not use yum and install azureus and save yourself the bother:
Code:
# yum install azureus
and you can also use "yumex" and browse all of the packages with a gui also:
Code:
# 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 09:19 PM. Reason: add info about building
 
Old 02-22-2008, 09:00 PM   #5
snootyjim
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.
 
  


Reply



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 08:49 AM
extract 1 file out of a .tar.bz2 oldsko0l Linux - Software 7 10-15-2006 06:14 PM
tar.bz2 Fails To Extract carlosinfl Linux - General 6 10-16-2005 12:33 PM
extract .tar.bz2 EcceVery Debian 3 11-24-2004 12:39 PM
How to extract tar.bz2 files? akihandyman Linux - Newbie 3 12-21-2003 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:08 PM.

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