quicktree command not found

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

Introduction

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

quicktree: command not found

or when using sudo you get the following error message

sudo: quicktree: command not found

Solutions to quicktree: command not found

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

In Ubuntu quicktree is provided by quicktree package.

quicktree is:

QuickTree is an efficient implementation of the Neighbor-Joining algorithm (PMID: 3447015), capable of reconstructing phylogenies from huge alignments in time less than the age of the universe.

QuickTree accepts both distance matrix and multiple-sequence-aligment inputs. The former should be in PHYLIP format. The latter should be in Stockholm format, which is the native alignment format for the Pfam database. Alignments in various formats can be converted to Stockholm format with the sreformat program, which is part of the HMMer package (hmmer.org).

The tress are written to stdout, in the Newick/New-Hampshire format use by PHYLIP and many other programs

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

sudo apt-get -y install quicktree

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

You can also use apt command to install quicktree.

sudo apt -y install quicktree

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

sudo aptitude install quicktree

Summary

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