How To Install r-cran-prophet on Debian 12
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:
- r-base-core
- r-api-4.0
- r-cran-rcpp
- r-cran-rlang
- r-cran-dplyr
- r-cran-dygraphs
- r-cran-extradistr
- r-cran-ggplot2
- r-cran-lubridate
- r-cran-rcppparallel
- r-cran-rstan
- r-cran-rstantools
- r-cran-scales
- r-cran-stanheaders
- r-cran-tidyr
- r-cran-xts
- r-cran-bh
- r-cran-rcppeigen
- libc6
- libgcc-s1
- libstdc++6
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
.