How To Install Gunzip On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

How To Install Gunzip On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

gunzip

Extract file(s) from a gzip (.gz) archive.

Maintainer: Bdale Garbee



Section: utils

Install gunzip

  • Debian apt-get install gzip Click to copy
  • Ubuntu apt-get install gzip Click to copy
  • Alpine OS apk add gzip Click to copy
  • Arch Linux pacman -S gzip Click to copy
  • Kali Linux apt-get install gzip Click to copy
  • CentOS yum install gzip Click to copy
  • Fedora dnf install gzip Click to copy
  • Raspbian apt-get install gzip Click to copy
  • macOS brew install gzip Click to copy

Extract file(s) from a gzip (.gz) archive.

How to use gunzip?

Below are few example commands for gunzip that you can use in the terminal.

Extract a file from an archive, replacing the original file if it exists:
gunzip archive.tar.gzClick to copy
Extract a file to a target destination:
gunzip -c archive.tar.gz > archive.tarClick to copy
List the contents of a compressed file:
gunzip -l file.txt.gzClick to copy
Install the latest version of gunzip in Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS from terminal. To install the gunzip just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of gunzip from the respository and install it in your computer/server.