How To Install r-cran-rodbc on Debian 10
Introduction
In this tutorial we learn how to install r-cran-rodbc
on Debian 10.
What is r-cran-rodbc
r-cran-rodbc is:
This CRAN package provides access to any Open DataBase Connectivity (ODBC) accessible database.
The package should be platform independent and provide access to any database for which a driver exists. It has been tested with MySQL and PostgreSQL on both Linux and Windows (and to those DBMSs on Linux hosts from R under Windows), Microsoft Access, SQL Server and Excel spreadsheets (read-only), and users have reported success with connections to Oracle and DBase.
Usage is covered in the R Data Import/Export manual (available via the r-doc-pdf, r-doc-html and r-doc-info packages).
There are three methods to install r-cran-rodbc
on Debian 10. 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-rodbc 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-rodbc
using apt-get
by running the following command:
sudo apt-get -y install r-cran-rodbc
Install r-cran-rodbc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install r-cran-rodbc
using apt
by running the following command:
sudo apt -y install r-cran-rodbc
Install r-cran-rodbc Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install r-cran-rodbc
using aptitude
by running the following command:
sudo aptitude -y install r-cran-rodbc
How To Uninstall r-cran-rodbc on Debian 10
To uninstall only the r-cran-rodbc
package we can use the following command:
sudo apt-get remove r-cran-rodbc
Uninstall r-cran-rodbc And Its Dependencies
To uninstall r-cran-rodbc
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove r-cran-rodbc
Remove r-cran-rodbc Configurations and Data
To remove r-cran-rodbc
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge r-cran-rodbc
Remove r-cran-rodbc configuration, data, and all of its dependencies
We can use the following command to remove r-cran-rodbc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-rodbc
Dependencies
r-cran-rodbc have the following dependencies:
References
Summary
In this tutorial we learn how to install r-cran-rodbc
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.