How To Install treeviewx on Ubuntu 20.04
Introduction
In this tutorial we learn how to install treeviewx
on Ubuntu 20.04.
What is treeviewx
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.
There are three methods to install treeviewx
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install treeviewx Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install treeviewx
using apt-get
by running the following command:
sudo apt-get -y install treeviewx
Install treeviewx Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install treeviewx
using apt
by running the following command:
sudo apt -y install treeviewx
Install treeviewx Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install treeviewx
using aptitude
by running the following command:
sudo aptitude -y install treeviewx
How To Uninstall treeviewx on Ubuntu 20.04
To uninstall only the treeviewx
package we can use the following command:
sudo apt-get remove treeviewx
Uninstall treeviewx And Its Dependencies
To uninstall treeviewx
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove treeviewx
Remove treeviewx Configurations and Data
To remove treeviewx
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge treeviewx
Remove treeviewx configuration, data, and all of its dependencies
We can use the following command to remove treeviewx
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge treeviewx
References
Summary
In this tutorial we learn how to install treeviewx
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.