How To Install r-cran-car on Debian 10

Learn how to install r-cran-car on Debian 10 with this tutorial. r-cran-car is GNU R Companion to Applied Regression by John Fox

Introduction

In this tutorial we learn how to install r-cran-car on Debian 10.

What is r-cran-car

r-cran-car is:

This package accompanies J. Fox, An R and S-PLUS Companion to Applied Regression, Sage, 2002. The package contains mostly functions for applied regression, linear models, and generalized linear models, with an emphasis on regression diagnostics, particularly graphical diagnostic methods. There are also some utility functions.

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

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

Install r-cran-car Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-car

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

sudo aptitude -y install r-cran-car

How To Uninstall r-cran-car on Debian 10

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

sudo apt-get remove r-cran-car

Uninstall r-cran-car And Its Dependencies

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

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

Remove r-cran-car Configurations and Data

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

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

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

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

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

Dependencies

r-cran-car have the following dependencies:

References

Summary

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