How To Install r-other-amsmercury on Ubuntu 18.04

In this tutorial we learn how to install r-other-amsmercury on Ubuntu 18.04. r-other-amsmercury is efficient calculation of accurate masses and abundances of isotopic peaks

Introduction

In this tutorial we learn how to install r-other-amsmercury on Ubuntu 18.04.

What is r-other-amsmercury

r-other-amsmercury is:

This GNU R package provides efficient calculation of accurate masses and abundances of isotopic peaks. It is a precondition for R NITPICK which does peak identification for mass spectrometry data.

There are three methods to install r-other-amsmercury on Ubuntu 18.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-other-amsmercury 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-other-amsmercury using apt-get by running the following command:

sudo apt-get -y install r-other-amsmercury

Install r-other-amsmercury Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-other-amsmercury

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

sudo aptitude -y install r-other-amsmercury

How To Uninstall r-other-amsmercury on Ubuntu 18.04

To uninstall only the r-other-amsmercury package we can use the following command:

sudo apt-get remove r-other-amsmercury

Uninstall r-other-amsmercury And Its Dependencies

To uninstall r-other-amsmercury and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove r-other-amsmercury

Remove r-other-amsmercury Configurations and Data

To remove r-other-amsmercury configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge r-other-amsmercury

Remove r-other-amsmercury configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge r-other-amsmercury

References

Summary

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