How to Install R in CentOS 8

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 – 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.

Recommended CentOS Tutorials

AuthorAdmin

My name is Devendra Dode. I am a full-stack developer, entrepreneur, and owner of Tutsmake.com. I like writing tutorials and tips that can help other developers. I share tutorials of PHP, Python, Javascript, JQuery, Laravel, Livewire, Codeigniter, Node JS, Express JS, Vue JS, Angular JS, React Js, MySQL, MongoDB, REST APIs, Windows, Xampp, Linux, Ubuntu, Amazon AWS, Composer, SEO, WordPress, SSL and Bootstrap from a starting stage. As well as demo example.

Leave a Reply

Your email address will not be published. Required fields are marked *