How To Install r-bioc-rsamtools on Debian 9

In this tutorial we learn how to install r-bioc-rsamtools on Debian 9. r-bioc-rsamtools is GNU R binary alignment (BAM), variant call (BCF), or tabix file import

Introduction

In this tutorial we learn how to install r-bioc-rsamtools on Debian 9.

What is r-bioc-rsamtools

r-bioc-rsamtools is:

This package provides an interface to the ‘samtools’, ‘bcftools’, and ’tabix’ utilities for manipulating SAM (Sequence Alignment / Map), binary variant call (BCF) and compressed indexed tab-delimited (tabix) files.

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

Install r-bioc-rsamtools Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install r-bioc-rsamtools

Install r-bioc-rsamtools Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install r-bioc-rsamtools using apt by running the following command:

sudo apt -y install r-bioc-rsamtools

Install r-bioc-rsamtools 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install r-bioc-rsamtools using aptitude by running the following command:

sudo aptitude -y install r-bioc-rsamtools

How To Uninstall r-bioc-rsamtools on Debian 9

To uninstall only the r-bioc-rsamtools package we can use the following command:

sudo apt-get remove r-bioc-rsamtools

Uninstall r-bioc-rsamtools And Its Dependencies

To uninstall r-bioc-rsamtools and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove r-bioc-rsamtools

Remove r-bioc-rsamtools Configurations and Data

To remove r-bioc-rsamtools configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge r-bioc-rsamtools

Remove r-bioc-rsamtools configuration, data, and all of its dependencies

We can use the following command to remove r-bioc-rsamtools configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge r-bioc-rsamtools

Dependencies

r-bioc-rsamtools have the following dependencies:

References

Summary

In this tutorial we learn how to install r-bioc-rsamtools package on Debian 9 using different package management tools: apt, apt-get and aptitude.