How To Install r-cran-zelig on Kali Linux
Introduction
In this tutorial we learn how to install r-cran-zelig on Kali Linux.
What is r-cran-zelig
r-cran-zelig is:
With thousands of contributors who have written hundreds of packaged routines, R can deal with nearly any statistical problem. Although this high level of participation may be its greatest strength, the enormous diversity in approaches to statistical inference covered by R often results in a virtual babel of competing functions and inconsistent syntax.
To address these problems from a common perspective, the upstream authors have created Zelig, a single, easy-to-use program, with a unified framework and syntax, that can estimate, help interpret, and present the results of a large range of statistical methods. It literally is “everyone’s statistical software” because Zelig uses R code from many researchers. They also hope it will become “everyone’s statistical software” for applications, and they have designed it so that anyone can use it or add their methods to it. Zelig comes with detailed, self-contained documentation that minimizes startup costs for Zelig and R, automates graphics and summaries for all models, and, with only three simple commands required, generally makes the power of R accessible for all users. Zelig also works well for teaching, and is designed so that scholars can use the same program they use for their research.
There are three methods to install r-cran-zelig 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-zelig 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-zelig using apt-get by running the following command:
sudo apt-get -y install r-cran-zeligInstall r-cran-zelig Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install r-cran-zelig using apt by running the following command:
sudo apt -y install r-cran-zeligInstall r-cran-zelig 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-zelig using aptitude by running the following command:
sudo aptitude -y install r-cran-zeligHow To Uninstall r-cran-zelig on Kali Linux
To uninstall only the r-cran-zelig package we can use the following command:
sudo apt-get remove r-cran-zeligUninstall r-cran-zelig And Its Dependencies
To uninstall r-cran-zelig and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove r-cran-zeligRemove r-cran-zelig Configurations and Data
To remove r-cran-zelig configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge r-cran-zeligRemove r-cran-zelig configuration, data, and all of its dependencies
We can use the following command to remove r-cran-zelig configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-zeligDependencies
r-cran-zelig have the following dependencies:
- r-base-core
- r-api-4.0
- r-cran-survival
- r-cran-aer
- r-cran-amelia
- r-cran-coda
- r-cran-dplyr
- r-cran-formula
- r-cran-geepack
- r-cran-jsonlite
- r-cran-sandwich
- r-cran-mass
- r-cran-matchit
- r-cran-maxlik
- r-cran-mcmcpack
- r-cran-quantreg
- r-cran-survey
- r-cran-vgam
References
Summary
In this tutorial we learn how to install r-cran-zelig package on Kali Linux using different package management tools: apt, apt-get and aptitude.