Ways to Install or Uninstall harvest-tools on Ubuntu 22.04

Updated: September 3, 2022

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. In this tutorial, I will show you how to install harvest-tools on Ubuntu 22.04.

Prerequisites to install

  • Operating system: harvest-tools needs Ubuntu 22.04 to work
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install harvest-tools on Ubuntu 22.04

Install harvest-tools Ubuntu 22.04

harvest-tools is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install harvest-tools using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these steps to install harvest-tools on your Ubuntu 22.04.

Step 1: Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:

sudo apt -y update

Step 2: Start installing the packages on Ubuntu 22.04. After updating, you can install harvest-tools Ubuntu by executing this command in the terminal.

sudo apt -y install harvest-tools

Install harvest-tools using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

Then, you can now install harvest-tools by following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. You can now install harvest-tools Ubuntu by executing this command in the terminal.

sudo aptitude install harvest-tools

Uninstall harvest-tools on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a harvest-tools.

You can uninstall harvest-tools Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove harvest-tools

If you want to uninstall harvest-tools and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge harvest-tools


In this guide, I showed you ways to install harvest-tools on Ubuntu 22.04 and some ways to uninstall harvest-tools too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.