How To Install R-java on Fedora 36

In this tutorial we learn how to install R-java in Fedora 36. R-java is R with Fedora provided Java Runtime Environment

Introduction

In this tutorial we learn how to install R-java on Fedora 36.

What is R-java

A language and environment for statistical computing and graphics. R is similar to the award-winning S system, which was developed at Bell Laboratories by John Chambers et al. It provides a wide variety of statistical and graphical techniques (linear and nonlinear modelling, statistical tests, time series analysis, classification, clustering, …). R is designed as a true computer language with control-flow constructions for iteration and alternation, and it allows users to add additional functionality by defining new functions. For computationally intensive tasks, C, C++ and Fortran code can be linked and called at run time. This package also has an additional dependency on java, as provided by Fedora’s openJDK.

We can use yum or dnf to install R-java on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install R-java.

Install R-java on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install R-java using dnf by running the following command:

sudo dnf -y install R-java

Install R-java on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install R-java using yum by running the following command:

sudo yum -y install R-java

How To Uninstall R-java on Fedora 36

To uninstall only the R-java package we can use the following command:

sudo dnf remove R-java

R-java Package Contents on Fedora 36

References

Summary

In this tutorial we learn how to install R-java on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).