How To Install r-cran-rredlist on Ubuntu 18.04

In this tutorial we learn how to install r-cran-rredlist on Ubuntu 18.04. r-cran-rredlist is GNU R IUCN Red List Client

Introduction

In this tutorial we learn how to install r-cran-rredlist on Ubuntu 18.04.

What is r-cran-rredlist

r-cran-rredlist is:

The IUCN Red List is a global list of threatened and endangered species. This GNU R package provides an IUCN Red List client to the Red List API routines.

The IUCN Global Species Programme working with the IUCN Species Survival Commission (SSC) has been assessing the conservation status of species, subspecies, varieties, and even selected subpopulations on a global scale for the past 50 years in order to highlight taxa threatened with extinction, and thereby promote their conservation.

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

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

Install r-cran-rredlist Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-rredlist

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

sudo aptitude -y install r-cran-rredlist

How To Uninstall r-cran-rredlist on Ubuntu 18.04

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

sudo apt-get remove r-cran-rredlist

Uninstall r-cran-rredlist And Its Dependencies

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

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

Remove r-cran-rredlist Configurations and Data

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

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

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

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

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

References

Summary

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