LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   2003 LinuxQuestions.org Members Choice Awards (https://www.linuxquestions.org/questions/2003-linuxquestions-org-members-choice-awards-37/)
-   -   Browser of the Year (https://www.linuxquestions.org/questions/2003-linuxquestions-org-members-choice-awards-37/browser-of-the-year-116358/)

slakmagik 01-11-2004 11:53 PM

cd where I want it
tar xzf foo.tar.gz

sxa 01-12-2004 12:59 PM

is that how to untar things 'tar xzf foo.tar.gz' ???

blkros 01-12-2004 01:22 PM

Yes--where foo is the file name you want to untar.
Also, seeing that you're using Fedora, if you don't want to use the command line, you could also use ark to do this. Ark is a graphical handler for archive files such as gz. (Similar to winzip, and stuff-it.)
Just right click on the file and choose ark from the menu, it'll open it up and show all the files in the archive and then you can choose extract, and where you want to extract it to--I think.
You can pretty much put Phoenix anywhere--mine's in my /home/{user-name } directory.
You'll probably want to add a link to it on your desktop, since it doesn't do it itself.
And away you go.

slakmagik 01-12-2004 01:42 PM

Yeah. If they are tarred and gzipped - 'file foo.tar.gz' if you need to make sure because some are labeled wrong. 'xjf' are the options if you have a reasonably recent tar and it's a bzip2 tar. (Add a 'v' - xzvf - if you want a verbose output to see what it's doing.) And so on. 'man tar' for full details.

Don't use Ark, at least until you can *not* use Ark. Tools like that may be conveniences after you've learned the commands they obscure, but they interfere with your ability to learn about the commands if you just accept them as magic boxes. If you try a system without Ark, you're screwed. If X goes down and you're working on fixing it and need to use Lynx to download something and tar to untar it you're screwed if you rely on Phoenix and Ark or whatnot. And so on and so on. Learn the fundamental (nearly) universal commands first, at least up to the very basics. Plus I suspect it would be either impossible or unecessarily complex to script something involving Ark whereas you can include tar in scripts with ease and flexibility.

sxa 01-12-2004 04:12 PM

Okay, I will try the tar file in the terminal to see if I can get it working.. I should be able to..

Thanks!


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