How To Install R-core-devel on CentOS 8
Introduction
In this tutorial we learn how to install R-core-devel
on CentOS 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 CentOS 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 CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 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 CentOS 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 CentOS 8 using yum and dnf.