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

marked as duplicate by jobin, chaos, Avinash Raj, Eric Carvalho, Mitch Jun 21 '14 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 '14 at 13:40
  • 1
    Why no use file-roller or "archive manager" which is default in ubuntu installations. – user128712 Jun 20 '14 at 13:41
  • @Jobin definitely not a dupe, that's specific to a .zip file, not a tarball or gz file – Mitch Jun 20 '14 at 13:44

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

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.

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

p7zip can handle most formats including gzip

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