How To Install libsnp-sites1-dev on Ubuntu 18.04

In this tutorial we learn how to install libsnp-sites1-dev on Ubuntu 18.04. libsnp-sites1-dev is Static libraries and header files for the package snp-sites

Introduction

In this tutorial we learn how to install libsnp-sites1-dev on Ubuntu 18.04.

What is libsnp-sites1-dev

libsnp-sites1-dev is:

Snp-sites finds single nucleotide polymorphism (SNP) sites from multi-fasta alignment input files (which might be compressed). Its output can be in various widely used formats (Multi Fasta Alignment, Vcf, phylip).

The software has been developed at the Wellcome Trust Sanger Institute.

This package contains the development files to include snp-sites into your own code. The library enables Python developers to make snp-sites function calls (Python bindings) through the Boost Python Library.

There are three methods to install libsnp-sites1-dev 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 libsnp-sites1-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install libsnp-sites1-dev using apt-get by running the following command:

sudo apt-get -y install libsnp-sites1-dev

Install libsnp-sites1-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libsnp-sites1-dev using apt by running the following command:

sudo apt -y install libsnp-sites1-dev

Install libsnp-sites1-dev 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 libsnp-sites1-dev using aptitude by running the following command:

sudo aptitude -y install libsnp-sites1-dev

How To Uninstall libsnp-sites1-dev on Ubuntu 18.04

To uninstall only the libsnp-sites1-dev package we can use the following command:

sudo apt-get remove libsnp-sites1-dev

Uninstall libsnp-sites1-dev And Its Dependencies

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

sudo apt-get -y autoremove libsnp-sites1-dev

Remove libsnp-sites1-dev Configurations and Data

To remove libsnp-sites1-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libsnp-sites1-dev

Remove libsnp-sites1-dev configuration, data, and all of its dependencies

We can use the following command to remove libsnp-sites1-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libsnp-sites1-dev

References

Summary

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