How To Install plink on Debian 10

Learn how to install plink on Debian 10 with this tutorial. plink is whole-genome association analysis toolset

Introduction

In this tutorial we learn how to install plink on Debian 10.

plink is:

plink expects as input the data from SNP (single nucleotide polymorphism) chips of many individuals and their phenotypical description of a disease. It finds associations of single or pairs of DNA variations with a phenotype and can retrieve SNP annotation from an online source.

SNPs can evaluated individually or as pairs for their association with the disease phenotypes. The joint investigation of copy number variations is supported. A variety of statistical tests have been implemented.

Please note: The executable was renamed to plink1 because of a name clash. Please read more about this in /usr/share/doc/plink/README.Debian.

There are three methods to install plink on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

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

sudo apt-get update

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

sudo apt-get -y install plink

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install plink using apt by running the following command:

sudo apt -y install plink

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

sudo aptitude -y install plink

To uninstall only the plink package we can use the following command:

sudo apt-get remove plink

To uninstall plink and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove plink

To remove plink configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge plink

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

sudo apt-get -y autoremove --purge plink

Dependencies

plink have the following dependencies:

References

Summary

In this tutorial we learn how to install plink package on Debian 10 using different package management tools: apt, apt-get and aptitude.