R is a programming language for statistical computing and graphics that you can use to clean, analyze, and graph your data. It is widely used by researchers from diverse disciplines to estimate and display results and by teachers of statistics and research methods.
Install R in CentOS 8; Through this tutorial, we will learn how to install R in CentOS 8.
How to Install R in CentOS 8
Follow the following steps to install R in CentOS 8:
- Step 1 – Enable the EPEL and PowerTools repositories
- Ste[ 2 – Install R
- Step 3 – Verify the Installation
- Step 4 – Install the Libraries
Step 1 – Enable the EPEL and PowerTools repositories
First of all, open terminal or command line and execute the following command into it to enable the EPEL and PowerTools repositories:
sudo dnf install epel-release sudo dnf config-manager --set-enabled PowerTools
Ste[ 2 – Install R
Once the EPEL tools are enabled, then execute the following command into command line to install R language in centOS 8:
sudo yum install R
Step 3 – Verify the Installation
Once the R language successfully installed, then execute the following command into command line or terminal to verify installation:
R --version
Step 4 – Install the Libraries
Finally, execute the following commands into command line or terminal to libraries and tools that are used by common R packages:
sudo yum install make gcc gcc-c++ libcurl-devel libxml2-devel openssl-devel texlive-*
Conclusion
Install R in CentOS 8; Through this tutorial, we have learned how to install R in CentOS 8.