How To Install libbpp-popgen8 on Ubuntu 18.04

In this tutorial we learn how to install libbpp-popgen8 on Ubuntu 18.04. libbpp-popgen8 is Bio++ Population Genetics library

Introduction

In this tutorial we learn how to install libbpp-popgen8 on Ubuntu 18.04.

What is libbpp-popgen8

libbpp-popgen8 is:

Bio++ is a set of C++ libraries for Bioinformatics, including sequence analysis, phylogenetics, molecular evolution and population genetics. Bio++ is Object Oriented and is designed to be both easy to use and computer efficient. Bio++ intends to help programmers to write computer expensive programs, by providing them a set of re-usable tools.

This package contains the dynamic library of the Bio++ Population Genetics classes.

There are three methods to install libbpp-popgen8 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 libbpp-popgen8 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libbpp-popgen8 using apt-get by running the following command:

sudo apt-get -y install libbpp-popgen8

Install libbpp-popgen8 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libbpp-popgen8 using apt by running the following command:

sudo apt -y install libbpp-popgen8

Install libbpp-popgen8 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 libbpp-popgen8 using aptitude by running the following command:

sudo aptitude -y install libbpp-popgen8

How To Uninstall libbpp-popgen8 on Ubuntu 18.04

To uninstall only the libbpp-popgen8 package we can use the following command:

sudo apt-get remove libbpp-popgen8

Uninstall libbpp-popgen8 And Its Dependencies

To uninstall libbpp-popgen8 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libbpp-popgen8

Remove libbpp-popgen8 Configurations and Data

To remove libbpp-popgen8 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libbpp-popgen8

Remove libbpp-popgen8 configuration, data, and all of its dependencies

We can use the following command to remove libbpp-popgen8 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libbpp-popgen8

References

Summary

In this tutorial we learn how to install libbpp-popgen8 package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.