How To Install r-cran-tcr on Ubuntu 20.04

In this tutorial we learn how to install r-cran-tcr on Ubuntu 20.04. r-cran-tcr is Advanced Data Analysis of Immune Receptor Repertoires

Introduction

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

What is r-cran-tcr

r-cran-tcr is:

Cells of the immune system are the grand exception to the rule that all cells of an individuum have (mostly exact) copies of the same DNA. B cells (which produce antibodies) and T cells (which communicate with cells) however have a section of their DNA with genes of the groups V, D and J that are reorganised within the genomic DNA to provide the flexibility to deal with yet unknown pathogens.

This package provides a platform for the advanced analysis of T cell receptor repertoire data and its visualisations.

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

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

Install r-cran-tcr Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-tcr

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

sudo aptitude -y install r-cran-tcr

How To Uninstall r-cran-tcr on Ubuntu 20.04

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

sudo apt-get remove r-cran-tcr

Uninstall r-cran-tcr And Its Dependencies

To uninstall r-cran-tcr 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-tcr

Remove r-cran-tcr Configurations and Data

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

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

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

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

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

References

Summary

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