How To Install r-cran-fields on Kali Linux
Introduction
In this tutorial we learn how to install r-cran-fields on Kali Linux.
What is r-cran-fields
r-cran-fields is:
For curve, surface and function fitting with an emphasis on splines, spatial data and spatial statistics. The major methods include cubic, and thin plate splines, Kriging and compact covariances for large data sets. The splines and Kriging methods are supported by functions that can determine the smoothing parameter (nugget and sill variance) and other covariance parameters by cross validation and also by restricted maximum likelihood. For Kriging there is an easy to use function that also estimates the correlation scale (range). A major feature is that any covariance function implemented in R and following a simple fields format can be used for spatial prediction. There are also many useful functions for plotting and working with spatial data as images. This package also contains an implementation of sparse matrix methods for large spatial data sets.
There are three methods to install r-cran-fields 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-fields 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-fields using apt-get by running the following command:
sudo apt-get -y install r-cran-fieldsInstall r-cran-fields Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install r-cran-fields using apt by running the following command:
sudo apt -y install r-cran-fieldsInstall r-cran-fields 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-fields using aptitude by running the following command:
sudo aptitude -y install r-cran-fieldsHow To Uninstall r-cran-fields on Kali Linux
To uninstall only the r-cran-fields package we can use the following command:
sudo apt-get remove r-cran-fieldsUninstall r-cran-fields And Its Dependencies
To uninstall r-cran-fields and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove r-cran-fieldsRemove r-cran-fields Configurations and Data
To remove r-cran-fields configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge r-cran-fieldsRemove r-cran-fields configuration, data, and all of its dependencies
We can use the following command to remove r-cran-fields configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-fieldsDependencies
r-cran-fields have the following dependencies:
References
Summary
In this tutorial we learn how to install r-cran-fields package on Kali Linux using different package management tools: apt, apt-get and aptitude.