gt command not found

In this troubleshooting guide we learn how to fix gt command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gt: command not found

or when using sudo you get the following error message

sudo: gt: command not found

Solutions to gt: command not found

How To Fix gt: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gt is provided by genometools package.

genometools is:

The GenomeTools contains a collection of useful tools for biological sequence analysis and -presentation combined into a single binary.

The toolkit contains binaries for sequence and annotation handling, sequence compression, index structure generation and access, annotation visualization, and much more.

To fix this problem, we can install more using the command below.

sudo apt-get -y install genometools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install genometools.

sudo apt -y install genometools

Or if you have aptitude installed you can use the following command.

sudo aptitude install genometools

Summary

In this tutorial we learn how to fix gt command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.