Articles

How to Install R in CentOS 8

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–InstallR[2–InstallR
  • 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–InstallR[2–InstallR

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.

Images mentioned above related to CentOS are either copyright property of respective image owners.

Rabins Sharma Lamichhane

Rabins Sharma Lamichhane is the owner of RabinsXP who is constantly working for increasing the Internet of Things (IoT) in Nepal. He also builds android apps and crafts beautiful websites. He is also working with various social services. The main aim of Lamichhane is to digitally empower the citizens of Nepal and make the world spiritually sound better both in terms of technology and personal development. Rabins is also the first initiator of Digital Nepal.

Related Articles

Leave a Reply

Your email address will not be published.

Back to top button