How To Install r-cran-qqman on Ubuntu 20.04

In this tutorial we learn how to install r-cran-qqman on Ubuntu 20.04. r-cran-qqman is R package for visualizing GWAS results using Q-Q and manhattan plots

Introduction

In this tutorial we learn how to install r-cran-qqman on Ubuntu 20.04.

What is r-cran-qqman

r-cran-qqman is:

qqman is an add-on package for the R statistical environment. This package provides functions for visualizing Genome-Wide Association Studies (GWAS) results using Manhattan plots and Quantile-Quantile plots.

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

sudo apt-get -y install r-cran-qqman

Install r-cran-qqman Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-qqman

Install r-cran-qqman 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-cran-qqman using aptitude by running the following command:

sudo aptitude -y install r-cran-qqman

How To Uninstall r-cran-qqman on Ubuntu 20.04

To uninstall only the r-cran-qqman package we can use the following command:

sudo apt-get remove r-cran-qqman

Uninstall r-cran-qqman And Its Dependencies

To uninstall r-cran-qqman and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove r-cran-qqman

Remove r-cran-qqman Configurations and Data

To remove r-cran-qqman configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge r-cran-qqman

Remove r-cran-qqman configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge r-cran-qqman

References

Summary

In this tutorial we learn how to install r-cran-qqman package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.