How To Install r-cran-rsqlite on Kali Linux
Introduction
In this tutorial we learn how to install r-cran-rsqlite on Kali Linux.
What is r-cran-rsqlite
r-cran-rsqlite is:
This package embeds the SQLite database engine in R and provides an interface compliant with the DBI package. This package is built with the SQLite package distributed in Debian, not with the copy included in the CRAN package.
There are three methods to install r-cran-rsqlite 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-rsqlite 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-rsqlite using apt-get by running the following command:
sudo apt-get -y install r-cran-rsqliteInstall r-cran-rsqlite Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install r-cran-rsqlite using apt by running the following command:
sudo apt -y install r-cran-rsqliteInstall r-cran-rsqlite 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-rsqlite using aptitude by running the following command:
sudo aptitude -y install r-cran-rsqliteHow To Uninstall r-cran-rsqlite on Kali Linux
To uninstall only the r-cran-rsqlite package we can use the following command:
sudo apt-get remove r-cran-rsqliteUninstall r-cran-rsqlite And Its Dependencies
To uninstall r-cran-rsqlite and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove r-cran-rsqliteRemove r-cran-rsqlite Configurations and Data
To remove r-cran-rsqlite configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge r-cran-rsqliteRemove r-cran-rsqlite configuration, data, and all of its dependencies
We can use the following command to remove r-cran-rsqlite configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-rsqliteDependencies
r-cran-rsqlite have the following dependencies:
- r-base-core
- r-api-4.0
- r-cran-bit64
- r-cran-blob
- r-cran-dbi
- r-cran-memoise
- r-cran-pkgconfig
- r-cran-rcpp
- r-cran-bh
- r-cran-plogr
- libc6
- libgcc-s1
- libstdc++6
References
Summary
In this tutorial we learn how to install r-cran-rsqlite package on Kali Linux using different package management tools: apt, apt-get and aptitude.