gztool command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gztool: command not found
or when using sudo you get the following error message
sudo: gztool: command not found
Solutions to gztool: command not found
How To Fix gztool: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gztool is provided by gztool package.
gztool is:
gztool indexes gzip-compressed files, allowing them to be accessed randomly (instead of from the beginning). It can index existing files, which takes as much time as decompressing the file entirely; it can also compress and decompress files itself, creating optimised indexes as it goes.
Other features include:
- watch and index a gzip-compressed file as it is created;
- partially extract a gzip-compressed file;
- tail a gzip-compressed file (including follow mode).
To fix this problem, we can install more using the command below.
sudo apt-get -y install gztool
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gztool.
sudo apt -y install gztool
Or if you have aptitude installed you can use the following command.
sudo aptitude install gztool
Summary
In this tutorial we learn how to fix gztool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.