How To Install r-cran-tgp on Kali Linux
Introduction
In this tutorial we learn how to install r-cran-tgp on Kali Linux.
What is r-cran-tgp
r-cran-tgp is:
Bayesian nonstationary, semiparametric nonlinear regression and design by treed Gaussian processes (GPs) with jumps to the limiting linear model (LLM). Special cases also implemented include Bayesian linear models, CART, treed linear models, stationary separable and isotropic GPs, and GP single-index models. Provides 1-d and 2-d plotting functions (with projection and slice capabilities) and tree drawing, designed for visualization of tgp-class output. Sensitivity analysis and multi-resolution models are supported. Sequential experimental design and adaptive sampling functions are also provided, including ALM, ALC, and expected improvement. The latter supports derivative-free optimization of noisy black-box functions.
There are three methods to install r-cran-tgp on Kali Linux. 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-tgp Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install r-cran-tgp using apt-get by running the following command:
sudo apt-get -y install r-cran-tgpInstall r-cran-tgp Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install r-cran-tgp using apt by running the following command:
sudo apt -y install r-cran-tgpInstall r-cran-tgp Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install r-cran-tgp using aptitude by running the following command:
sudo aptitude -y install r-cran-tgpHow To Uninstall r-cran-tgp on Kali Linux
To uninstall only the r-cran-tgp package we can use the following command:
sudo apt-get remove r-cran-tgpUninstall r-cran-tgp And Its Dependencies
To uninstall r-cran-tgp and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove r-cran-tgpRemove r-cran-tgp Configurations and Data
To remove r-cran-tgp configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge r-cran-tgpRemove r-cran-tgp configuration, data, and all of its dependencies
We can use the following command to remove r-cran-tgp configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-tgpDependencies
r-cran-tgp have the following dependencies:
References
Summary
In this tutorial we learn how to install r-cran-tgp package on Kali Linux using different package management tools: apt, apt-get and aptitude.