How To Install gff2ps on Ubuntu 18.04
Introduction
In this tutorial we learn how to install gff2ps on Ubuntu 18.04.
What is gff2ps
gff2ps is:
gff2ps is a script program developed with the aim of converting gff-formatted records into high quality one-dimensional plots in PostScript. Such plots maybe useful for comparing genomic structures and to visualizing outputs from genome annotation programs. It can be used in a very simple way, because it assumes that the GFF file itself carries enough formatting information, but it also allows through a number of options and/or a configuration file, for a great degree of customization.
There are three methods to install gff2ps on Ubuntu 18.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 gff2ps Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install gff2ps using apt-get by running the following command:
sudo apt-get -y install gff2ps
Install gff2ps Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install gff2ps using apt by running the following command:
sudo apt -y install gff2ps
Install gff2ps 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 gff2ps using aptitude by running the following command:
sudo aptitude -y install gff2ps
How To Uninstall gff2ps on Ubuntu 18.04
To uninstall only the gff2ps package we can use the following command:
sudo apt-get remove gff2ps
Uninstall gff2ps And Its Dependencies
To uninstall gff2ps and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove gff2ps
Remove gff2ps Configurations and Data
To remove gff2ps configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge gff2ps
Remove gff2ps configuration, data, and all of its dependencies
We can use the following command to remove gff2ps configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gff2ps
References
Summary
In this tutorial we learn how to install gff2ps package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.