How To Install figtree on Debian 9
Introduction
In this tutorial we learn how to install figtree on Debian 9.
What is figtree
figtree is:
FigTree is designed as a graphical viewer of phylogenetic trees and as a program for producing publication-ready figures. In particular it is designed to display summarized and annotated trees produced by BEAST.
There are three methods to install figtree on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install figtree Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install figtree using apt-get by running the following command:
sudo apt-get -y install figtree
Install figtree Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install figtree using apt by running the following command:
sudo apt -y install figtree
Install figtree 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 Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install figtree using aptitude by running the following command:
sudo aptitude -y install figtree
How To Uninstall figtree on Debian 9
To uninstall only the figtree package we can use the following command:
sudo apt-get remove figtree
Uninstall figtree And Its Dependencies
To uninstall figtree and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove figtree
Remove figtree Configurations and Data
To remove figtree configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge figtree
Remove figtree configuration, data, and all of its dependencies
We can use the following command to remove figtree configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge figtree
Dependencies
figtree have the following dependencies:
- default-jre
- jarwrapper
- libbatik-java
- libfreehep-export-java
- libfreehep-graphics2d-java
- libfreehep-graphicsio-emf-java
- libfreehep-graphicsio-java
- libfreehep-graphicsio-pdf-java
- libfreehep-graphicsio-ps-java
- libfreehep-graphicsio-svg-java
- libfreehep-graphicsio-swf-java
- libitext5-java
- libjam-java
- libjebl2-java
References
Summary
In this tutorial we learn how to install figtree package on Debian 9 using different package management tools: apt, apt-get and aptitude.