How To Install R-core-devel on Rocky Linux 8

In this tutorial we learn how to install R-core-devel on Rocky Linux 8. R-core-devel is Core files for development of R packages (no Java)

Introduction

In this tutorial we learn how to install R-core-devel on Rocky Linux 8.

What is R-core-devel

Install R-core-devel if you are going to develop or compile R packages. This package does not configure the R environment for Java, install R-java-devel if you want this.

We can use yum or dnf to install R-core-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install R-core-devel.

Install R-core-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install R-core-devel

Install R-core-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install R-core-devel

How To Uninstall R-core-devel on Rocky Linux 8

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

sudo dnf remove R-core-devel

R-core-devel Package Contents on Rocky Linux 8

/usr/include/R
/usr/include/R/R.h
/usr/include/R/R_ext
/usr/include/R/R_ext/Altrep.h
/usr/include/R/R_ext/Applic.h
/usr/include/R/R_ext/Arith.h
/usr/include/R/R_ext/BLAS.h
/usr/include/R/R_ext/Boolean.h
/usr/include/R/R_ext/Callbacks.h
/usr/include/R/R_ext/Complex.h
/usr/include/R/R_ext/Connections.h
/usr/include/R/R_ext/Constants.h
/usr/include/R/R_ext/Error.h
/usr/include/R/R_ext/GetX11Image.h
/usr/include/R/R_ext/GraphicsDevice.h
/usr/include/R/R_ext/GraphicsEngine.h
/usr/include/R/R_ext/Itermacros.h
/usr/include/R/R_ext/Lapack.h
/usr/include/R/R_ext/Linpack.h
/usr/include/R/R_ext/MathThreads.h
/usr/include/R/R_ext/Memory.h
/usr/include/R/R_ext/Parse.h
/usr/include/R/R_ext/Print.h
/usr/include/R/R_ext/PrtUtil.h
/usr/include/R/R_ext/QuartzDevice.h
/usr/include/R/R_ext/R-ftp-http.h
/usr/include/R/R_ext/RS.h
/usr/include/R/R_ext/RStartup.h
/usr/include/R/R_ext/Rallocators.h
/usr/include/R/R_ext/Random.h
/usr/include/R/R_ext/Rdynload.h
/usr/include/R/R_ext/Riconv.h
/usr/include/R/R_ext/Utils.h
/usr/include/R/R_ext/Visibility.h
/usr/include/R/R_ext/eventloop.h
/usr/include/R/R_ext/libextern.h
/usr/include/R/R_ext/stats_package.h
/usr/include/R/R_ext/stats_stubs.h
/usr/include/R/Rconfig.h
/usr/include/R/Rdefines.h
/usr/include/R/Rembedded.h
/usr/include/R/Rinterface.h
/usr/include/R/Rinternals.h
/usr/include/R/Rmath.h
/usr/include/R/Rversion.h
/usr/include/R/S.h
/usr/lib64/R/include
/usr/lib64/pkgconfig/libR.pc

References

Summary

In this tutorial we learn how to install R-core-devel on Rocky Linux 8 using yum and dnf.