How to install Rstudio Desktop or Server in Debian 11 Bullseye Linux

R is an open source programming language for statistical analysis and graphics, while RStudio is an IDE for it. Here we will learn the commands to install RStudio with R programming language on Debian 11 Bullseye.

With the RStudio integrated development environment, the user can use the GUI to start coding in the R language. This means that the IDE can only work if you have already installed R. Although the IDE does not can work only with R, the programming language can work alone. It is therefore not possible to replace one by the other.

We can install Rstudio IDE and access it like any other app or development platform like PythonIDE. Besides the desktop application, the server option is also available to use the IDE in a web browser. Rstudio has been developed using multiple languages, however, most of it is written in Java while some of the coding uses C ++ and a small percentage is in JavaScript.

Developing programs in R becomes easy in Rstudio while the functions can be extended using add-ons like googleAuthR, Bookdown and Colorpicker. It also offers another product known as “Job Launcher”, which works with container orchestration platforms and batch processing systems.

Steps to install RStudio IDE on Debian 11 Bullseye or 10 Buster

Installing the IDE will also install the R programming language on your system, so you don’t need to install it additionally.

——————————————————-For desktops—————————————————–

1. Run the system update

Well, if you haven’t updated your system in a while, run the system update command before you go any further.

sudo apt update

2. Download the Rstudio desktop Debian package

The R-base programming language can be installed directly using the Debian 11 Bullseye base repository. However, the Rstudio IDE package is not. Therefore, we need to visit the download page of Rstudio official website to download the free and open source version of this IDE. Here is the link.

Click on the available package to Debian. This will download it to your system.

3. Install Rstudio Desktop on Debian 11

Now we have the Debian binary from Rstudio, let’s use it to configure the open source R programming integrated development environment on Debian 11.

Skip to downloads– As by default, the files downloaded via the browser go in this directory.

cd Downloads


sudo apt install ./rstudio-*-amd64.deb

To note: Rstudio will automatically install the R programming language on your Debian 10 or 11 system. Therefore, you will not need to install it separately. However, if you want to have the latest version of R-Base, learn it through this tutorial – How to install the latest version of R-base on Debian 11.

4. Run R Langauge IDE

Now go to app launcher and find installed IDE, when you get its icon click to run it. After that, you can start developing your app.

R Rstudio IDE programming in the installation of Debian 11 Bullseye

———————————————————For servers————————————————————–

Rstudio Server – Web Based IDE

Those using the Debian 11 Bullseye server from the command line and want to use the R programming language using the web browser can opt for the open source Rstudio Server IDE. Users just need a web browser on any local machine that can access the IP address of the server where the IDE has been installed.

sudo apt-get install r-base

Download Debian Binary:


Installation server:

sudo apt install ./rstudio-server-2021.09.1-372-amd64.deb

Access the Web IDE interface

Once the installation is complete, check what is the IP address of your system:

ip a

After that open any browser on a system that can ping the IP address of the server and then in the URL section add this IP address with the port number 8787.


For example:

Log in

Use your system username and password to log in:

Installation of Rstudio Debian 11 Bullseye server

Comments are closed.