harvesttools command not found

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

Introduction

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

harvesttools: command not found

or when using sudo you get the following error message

sudo: harvesttools: command not found

Solutions to harvesttools: command not found

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

In Ubuntu harvesttools is provided by harvest-tools package.

harvest-tools is:

HarvestTools is a utility for creating and interfacing with Gingr files, which are efficient archives that the Harvest Suite uses to store reference-compressed multi-alignments, phylogenetic trees, filtered variants and annotations. Though designed for use with Parsnp and Gingr, HarvestTools can also be used for generic conversion between standard bioinformatics file formats.

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

sudo apt-get -y install harvest-tools

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

You can also use apt command to install harvest-tools.

sudo apt -y install harvest-tools

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

sudo aptitude install harvest-tools

Summary

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