unrooted command not found

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

Introduction

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

unrooted: command not found

or when using sudo you get the following error message

sudo: unrooted: command not found

Solutions to unrooted: command not found

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

In Ubuntu unrooted is provided by njplot package.

njplot is:

NJplot is able to draw any dendrogram expressed in the Newick standard phylogenetic tree format (e.g., the format used by the Phylip package). NJplot is especially convenient for rooting the unrooted trees obtained from parsimony, distance or maximum likelihood tree-building methods.

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

sudo apt-get -y install njplot

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

You can also use apt command to install njplot.

sudo apt -y install njplot

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

sudo aptitude install njplot

Summary

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