tar.gz

Discussion in 'Linux & BSD' started by Athalonxp1800gu, Jul 24, 2002.

  1. Ok i know this isnt a linux forum but i cant find my answer anywhere. I want to open a tar.gz file. I was going to get pkzip or something to do it with but it is a tar.gz file also....any tips or any forums you know of? I also need help installing rpm packages.....thanks
     
  2. Windows Commander will open tar.gz files.

    www.ghisler.com

    I believe you can also get a plugin at this site for handling RPM's.


    Just thought of something, if you're working inside Linux then you want to look on the Linux sites for a package called TKZip. It won't install RPM's but you can view the contents and unpack them I think. It will handle tar.gz files very nicely.
     
  3. JJB6486

    JJB6486 Retired Mod Political User

    Messages:
    1,207
    Location:
    West Lafayette, IN, USA
    Open it on Linux or Windows?

    If its Linux, just use these commands

    Tar-
    tar zxvf file.tar.gz

    RPM (if supported, not all distros have RPM only RedHat, Mandrake, and SuSE have it preloaded)-
    rpm -i file.rpm

    If your talking Windows, WinRAR can open the tar.gz file. I don't think Windows can open a RPM package

    JJB6486
     
  4. A .tar.gz is a GZIPed TAR file. To extract it on linux use

    gunzip myfile.tar.gz

    That will give you myfile.tar. Then use

    tar xvf myfile.tar

    to extract the contents of the tar file. To see what is in the file before untarring use

    tar tvf myfile.tar
     
  5. w0lv3rin3

    w0lv3rin3 The Source Political User

    Messages:
    465
    Location:
    Barrie, ON
    WinRAR will open it

    WinRAR will open neything
     
  6. JJB6486

    JJB6486 Retired Mod Political User

    Messages:
    1,207
    Location:
    West Lafayette, IN, USA
    BobTheBuilder:

    "tar zxvf file.tar.gz" will gunzip automatically. The "z" switch in the tar command automatically does the gunzip part for you. Makes it easier to only need one command.

    JJB6486
     
  7. JJB6486:

    Blimey, the saying is true. You learn something new every day.
    Cheers JJB6486
     
  8. Reg

    Reg eXperienced!

    Messages:
    639
    Location:
    Arlington, TX
    For Windows:

    WinRAR or WinACE (I recommend WinRAR)

    For Linux:

    The code is listed above.