How To Install r-bioc-rhtslib on Ubuntu 20.04
Introduction
In this tutorial we learn how to install r-bioc-rhtslib
on Ubuntu 20.04.
What is r-bioc-rhtslib
r-bioc-rhtslib is:
This package provides version 1.7 of the ‘HTSlib’ C library for high-throughput sequence analysis. The package is primarily useful to developers of other R packages who wish to make use of HTSlib. Motivation and instructions for use of this package are in the vignette, vignette(package=“Rhtslib”, “Rhtslib”).
There are three methods to install r-bioc-rhtslib
on Ubuntu 20.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 r-bioc-rhtslib 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-rhtslib
using apt-get
by running the following command:
sudo apt-get -y install r-bioc-rhtslib
Install r-bioc-rhtslib Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install r-bioc-rhtslib
using apt
by running the following command:
sudo apt -y install r-bioc-rhtslib
Install r-bioc-rhtslib 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 r-bioc-rhtslib
using aptitude
by running the following command:
sudo aptitude -y install r-bioc-rhtslib
How To Uninstall r-bioc-rhtslib on Ubuntu 20.04
To uninstall only the r-bioc-rhtslib
package we can use the following command:
sudo apt-get remove r-bioc-rhtslib
Uninstall r-bioc-rhtslib And Its Dependencies
To uninstall r-bioc-rhtslib
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove r-bioc-rhtslib
Remove r-bioc-rhtslib Configurations and Data
To remove r-bioc-rhtslib
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge r-bioc-rhtslib
Remove r-bioc-rhtslib configuration, data, and all of its dependencies
We can use the following command to remove r-bioc-rhtslib
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-bioc-rhtslib
References
Summary
In this tutorial we learn how to install r-bioc-rhtslib
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.