How To Install libsnp-sites1 on Ubuntu 18.04

In this tutorial we learn how to install libsnp-sites1 on Ubuntu 18.04. libsnp-sites1 is Shared libraries of the package snp-sites

Introduction

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

What is libsnp-sites1

libsnp-sites1 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 dynamic library uses by snp-sites.

There are three methods to install libsnp-sites1 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 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 using apt-get by running the following command:

sudo apt-get -y install libsnp-sites1

Install libsnp-sites1 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsnp-sites1

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

sudo aptitude -y install libsnp-sites1

How To Uninstall libsnp-sites1 on Ubuntu 18.04

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

sudo apt-get remove libsnp-sites1

Uninstall libsnp-sites1 And Its Dependencies

To uninstall libsnp-sites1 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

Remove libsnp-sites1 Configurations and Data

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

sudo apt-get -y purge libsnp-sites1

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

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

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

References

Summary

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