How To Install phyutility on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 385 words
Introduction
In this tutorial we learn how to install phyutility on Ubuntu.
What is phyutility
phyutility is:
Phyutility (fyoo-til-i-te) is a command line program that performs simple analyses or modifications on both trees and data matrices.
Currently it performs the following functions (to suggest another feature, submit an Issue and use the label Type-Enhancement) :
Trees
- rerooting
- pruning
- type conversion
- consensus
- leaf stability
- lineage movement
- tree support
Data Matrices
- concatenate alignments
- genbank parsing
- trimming alignments
- search NCBI
- fetch NCBI
There are three methods to install phyutility on Ubuntu. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install phyutility Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install phyutility using apt-get by running the following command:
sudo apt-get -y install phyutility
Install phyutility Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install phyutility using apt by running the following command:
sudo apt -y install phyutility
Install phyutility 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 phyutility using aptitude by running the following command:
sudo aptitude -y install phyutility
How To Uninstall phyutility on Ubuntu
To uninstall only the phyutility package we can use the following command:
sudo apt-get remove phyutility
Uninstall phyutility And Its Dependencies
To uninstall phyutility and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove phyutility
Remove phyutility Configurations and Data
To remove phyutility configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge phyutility
Remove phyutility configuration, data, and all of its dependencies
We can use the following command to remove phyutility configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge phyutility
Dependencies
phyutility have the following dependencies:
References
Summary
In this tutorial we learn how to install phyutility package on Ubuntu using different package management tools: apt, apt-get and aptitude.