altree command not found

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

Introduction

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

altree: command not found

or when using sudo you get the following error message

sudo: altree: command not found

Solutions to altree: command not found

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

In Ubuntu altree is provided by altree package.

altree is:

ALTree was designed to perform association detection and localization of susceptibility sites using haplotype phylogenetic trees: first, it allows the detection of an association between a candidate gene and a disease, and second, it enables to make hypothesis about the susceptibility loci.

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

sudo apt-get -y install altree

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

You can also use apt command to install altree.

sudo apt -y install altree

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

sudo aptitude install altree

Summary

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