How to Install RStudio IDE on Debian 11 / Debian 10

0

RStudio IDE provides a software development environment that enables you to run R commands, visualize output, inspect variables, and manage your project files.

RStudio makes it easier to write scripts with Syntax highlighting, code completion, and smart indentation.

In this post, we will see how to install RStudio IDE on Debian 11 / Debian 10.

Install R

RStudio requires R 3.0.1 or newer. So, use the below command to install the R base package on your system.

sudo apt update
sudo apt install -y r-base

Once the package is installed, run the R --version command to get the R version.

R version 4.0.4 (2021-02-15) -- "Lost Library Book"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

Additionally, you may want to install the automatically tuned Atlas or the multi-threaded OpenBlas library to get higher performance for linear algebra operations.

sudo apt install -y libatlas3-base

OR

sudo apt install -y libopenblas-base

Install RStudio IDE on Debian 11

First, download the latest version of the RStudio package from the official website or use the below command to download RStudio v1.4.1717 using the terminal.

wget https://download1.rstudio.org/desktop/bionic/amd64/rstudio-1.4.1717-amd64.deb

Then, install the package using the dpkg command.

sudo apt install -y ./rstudio-1.4.1717-amd64.deb

Wait for the installation to complete.

Launch RStudio IDE

You can start RStudio by going to Activities >> search for RStudio or by running the rstudio command in the terminal.

RStudio is running on Debian 11.

RStudio Running on Debian 11
RStudio Running on Debian 11

Conclusion

That’s All. I hope you have learned how to install RStudio on Debian 11 / Debian 10.

You might also like