How To Install r-cran-prophet on Debian 12

Learn how to install r-cran-prophet on Debian 12 with this tutorial. r-cran-prophet is GNU R automatic forecasting procedure

Introduction

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

What is r-cran-prophet

r-cran-prophet is:

Implements a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well.

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

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

Install r-cran-prophet Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-prophet

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

sudo aptitude -y install r-cran-prophet

How To Uninstall r-cran-prophet on Debian 12

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

sudo apt-get remove r-cran-prophet

Uninstall r-cran-prophet And Its Dependencies

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

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

Remove r-cran-prophet Configurations and Data

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

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

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

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

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

Dependencies

r-cran-prophet have the following dependencies:

References

Summary

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