In this tutorial, we will show you how to install R Programming Language on Fedora 35. For those of you who didn’t know, R is a free and open-source programming language that specializes in graphical representation, reporting, and statistical computing. This language is heavily used in research as it provides a lot of statistical and graphical tools. It is also a well-developed language for data manipulation.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of the R Programming Language on a Fedora 35.
Prerequisites
- A server running one of the following operating systems: Fedora 35.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install R Programming Language on Fedora 35
Step 1. Before proceeding, update your Fedora operating system to make sure all existing packages are up to date. Use this command to update the server packages:
sudo dnf upgrade sudo dnf update sudo dnf install dnf-plugins-core dnf-utils dnf-plugin-config-manager
Step 2. Installing R Programming Language on Fedora 35.
By default, R Programming is available on Fedora 35 base repository. Now run the following command to install it on your Fedora system:
sudo dnf install R
In addition, the following command will also install R in various optional:
- Install the minimal R components:
sudo dnf install R-core
- Install the core files for the development of R packages (no Java):
sudo dnf install R-core-devel
- Install R with Fedora-provided Java Runtime Environment:
sudo dnf install R-java
- Install the development package for use with Java-enabled R components:
sudo dnf install R-java-devel
Verify installation and build version:
R --version
Congratulations! You have successfully installed R Programming. Thanks for using this tutorial for installing R Programming Language on your Fedora 35 system. For additional help or useful information, we recommend you check the official R Programming website.