How To Install r-cran-httpuv on Debian 9

In this tutorial we learn how to install r-cran-httpuv on Debian 9. r-cran-httpuv is GNU R package of HTTP and WebSocket Server Library

Introduction

In this tutorial we learn how to install r-cran-httpuv on Debian 9.

What is r-cran-httpuv

r-cran-httpuv is:

The R package httpuv provides low-level socket and protocol support for handling HTTP and WebSocket requests directly from within R. It is primarily intended as a building block for other packages, rather than making it particularly easy to create complete web applications using httpuv alone. httpuv is built on top of the libuv and http-parser C libraries, both of which were developed by Joyent, Inc.

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

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

Install r-cran-httpuv Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-httpuv

Install r-cran-httpuv 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install r-cran-httpuv

How To Uninstall r-cran-httpuv on Debian 9

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

sudo apt-get remove r-cran-httpuv

Uninstall r-cran-httpuv And Its Dependencies

To uninstall r-cran-httpuv and its dependencies that are no longer needed by Debian 9, we can use the command below:

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

Remove r-cran-httpuv Configurations and Data

To remove r-cran-httpuv configuration and data from Debian 9 we can use the following command:

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

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

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

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

Dependencies

r-cran-httpuv have the following dependencies:

References

Summary

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