How To Install r-cran-pcapp on Kali Linux

In this tutorial we learn how to install r-cran-pcapp on Kali Linux. r-cran-pcapp is Robust PCA by Projection Pursuit

Introduction

In this tutorial we learn how to install r-cran-pcapp on Kali Linux.

What is r-cran-pcapp

r-cran-pcapp is:

Provides functions for robust PCA by projection pursuit. The methods are described in Croux et al. (2006) doi:10.2139/ssrn.968376, Croux et al. (2013) doi:10.1080/00401706.2012.727746, Todorov and Filzmoser (2013) doi:10.1007/978-3-642-33042-1_31.

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

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

Install r-cran-pcapp Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-pcapp

Install r-cran-pcapp 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 update

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

sudo aptitude -y install r-cran-pcapp

How To Uninstall r-cran-pcapp on Kali Linux

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

sudo apt-get remove r-cran-pcapp

Uninstall r-cran-pcapp And Its Dependencies

To uninstall r-cran-pcapp and its dependencies that are no longer needed by Kali Linux, we can use the command below:

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

Remove r-cran-pcapp Configurations and Data

To remove r-cran-pcapp configuration and data from Kali Linux we can use the following command:

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

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

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

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

Dependencies

r-cran-pcapp have the following dependencies:

References

Summary

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