Click to See Complete Forum and Search --> : How do I extract a GZipTar archive?


BZMew2
08-17-2001, 01:45 AM
I want to extract nethack to linux, but I don't know how :(. How do I do it?

Malakin
08-17-2001, 01:58 AM
If the extension is tar.gz you can use "tar xzf filename.tar.gz" if it's .tgz then it's the same thing.

If you're using a newer linux distro you should be able to just click on the file in the gui and it will either open like a folder or at least open it in an extraction program. Maybe I'm just spoiled with mandrake? :)

BZMew2
08-17-2001, 02:09 AM
Help! When I try to move a file to the / directory, it says "Permission denied! This happens when I try to move something to ANYWHERE but the desktop! Help!!!!

mrBen
08-17-2001, 04:23 AM
Who 'owns' the file? If it is owned by root, or another user, you may not be able to move it. Start up an xterm, type su, and your root password then go to the desktop folder (probably in something like /home/<username>/.desktop) and move that folder to where you want it. Then type tar -zxvf <filename> to extract it.

HTH

Strike
08-17-2001, 04:27 AM
Look here - http://www.linuxnewbie.org/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=1&t=021962

You probably don't want to extract this to /, you probably want it in something like /usr/local/src (I personally just keep most source in my home dir until I install it systemwide and then it goes into /usr/local/src)