How To Install r-cran-gnm on Debian 12

Learn how to install r-cran-gnm on Debian 12 with this tutorial. r-cran-gnm is GNU R package for generalized nonlinear models

Introduction

In this tutorial we learn how to install r-cran-gnm on Debian 12.

What is r-cran-gnm

r-cran-gnm is:

Functions to specify and fit generalized nonlinear models, including models with multiplicative interaction terms such as the UNIDIFF model from sociology and the AMMI model from crop science, and many others. Over-parameterized representations of models are used throughout; functions are provided for inference on estimable parameter combinations, as well as standard methods for diagnostics etc.

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

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

Install r-cran-gnm Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-gnm

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

sudo aptitude -y install r-cran-gnm

How To Uninstall r-cran-gnm on Debian 12

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

sudo apt-get remove r-cran-gnm

Uninstall r-cran-gnm And Its Dependencies

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

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

Remove r-cran-gnm Configurations and Data

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

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

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

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

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

Dependencies

r-cran-gnm have the following dependencies:

References

Summary

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