tv command not found

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

Introduction

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

tv: command not found

or when using sudo you get the following error message

sudo: tv: command not found

Solutions to tv: command not found

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

In Ubuntu tv is provided by treeviewx package.

treeviewx is:

TreeView X is an open source and multi-platform program to display phylogenetic trees. It can read and display NEXUS and Newick format tree files (such as those output by PAUP*, ClustalX, TREE-PUZZLE, and other programs). It allows one to order the branches of the trees, and to export the trees in SVG format.

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

sudo apt-get -y install treeviewx

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

You can also use apt command to install treeviewx.

sudo apt -y install treeviewx

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

sudo aptitude install treeviewx

Summary

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