Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to download grub-1.99.tar.gz ,I do not know what program to use to open a

Gzip file. please recommend

share|improve this question

marked as duplicate by i08in, chaos, Avinash Raj, Eric Carvalho, Mitch Jun 21 at 8:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
You can use tar. –  Mitch Jun 20 at 13:40
1  
Why no use file-roller or "archive manager" which is default in ubuntu installations. –  user128712 Jun 20 at 13:41
    
@Jobin definitely not a dupe, that's specific to a .zip file, not a tarball or gz file –  musher Jun 20 at 13:44

4 Answers 4

What you actually have is a tarball, so you'll want to use the tar command.

 tar -zxvf grub-1.99.tar.gz

If you had a file that was only .gz (and not .tar.gz) you would use

gunzip grub-199.gz
share|improve this answer

Musher is spot-on. Here is what those tar flags mean (taken from man tar):

-f, --file ARCHIVE
       use archive file or device ARCHIVE
-v, --verbose
       verbosely list files processed
-x, --extract, --get
       extract files from an archive
-z, --gzip, --gunzip --ungzip

So executing tar -zxvf grub-1.99.tar.gz should extract everything from that .tar.gz. file, and list-out each file as well.

share|improve this answer

You can right-click it and select 'Extract Here.' Nearly every compressed file may be extracted using this method.

share|improve this answer

p7zip can handle most formats including gzip

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.