• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install R Studio on Linux Debian 11.3

  • 00:32 lsb_release –a
  • 00:44 apt update
  • 00:54 apt install r-base
  • 01:14 apt install gdebi-core
  • 01:30 wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-2021.09.0-351-amd64.deb
  • 01:48 gdebi rstudio-server-2021.09.0-351-amd64.deb
{{postValue.id}}

To Install R Studio On Linux Debian 11.3

Introduction:

RStudio is an Integrated Development Environment for R, a programming language for statistical computing and graphics. It is available in two formats: RStudio Desktop is a regular desktop application while RStudio Server runs on a remote server and allows accessing RStudio using a web browser.

Installation procedure:

Step 1: Check the OS Version by using the below command

root@linuxhelp:~# lsb_release –a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

Step 2: Update the repositories by using the below command

root@linuxhelp:~# apt update

Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease    
Hit:3 http://archive.canonical.com/ubuntu focal InRelease           
Ign:4 http://packages.linuxmint.com uma InRelease                   
Hit:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:7 http://packages.linuxmint.com uma Release
Reading package lists... Done
Building dependency tree      
 
Reading state information... Done
All packages are up to date.

Step 3: Install the r-base by using the below command

root@linuxhelp:~# apt install r-base

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  build-essential bzip2-doc g++ g++-9 gfortran gfortran-9 icu-devtools libblas-dev libblas3 libbz2-dev libc-dev-bin libc6-dev
  libcrypt-dev libgfortran-9-dev libgfortran5 libicu-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev liblapack-dev liblapack3
  liblzma-dev libncurses-dev libncurses5-dev libpcre16-3 libpcre2-dev libpcre2-posix2 libpcre3-dev libpcre32-3 libpcrecpp0v5
Unpacking r-cran-boot (1.3-24-2) ...
Selecting previously unselected package r-cran-cluster.
Preparing to unpack .../38-r-cran-cluster_2.1.0-2_amd64.deb ...
Unpacking r-cran-cluster (2.1.0-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for install-info (6.7.0.dfsg.2-5) ...

Step 4 : Install the gdebi-core installer by using the below command

root@linuxhelp:~# apt install gdebi-core
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gdebi-core is already the newest version (0.9.5.7xdebian11).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Step 5: Download the r-studio server by using the wget command.

root@linuxhelp:~# wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-2021.09.0-351-amd64.deb
--2022-01-04 05:13:36--  https://download2.rstudio.org/server/bionic/amd64/rstudio-server-2021.09.0-351-amd64.deb
Resolving download2.rstudio.org (download2.rstudio.org)... 13.33.179.45, 13.33.179.6, 13.33.179.18, ...
Connecting to download2.rstudio.org (download2.rstudio.org)|13.33.179.45|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50916586 (49M) [application/x-debian-package]
Saving to: ‘rstudio-server-2021.09.0-351-amd64.deb’

rstudio-server-2022.07.07-351-amd 100%[=========================================================>]  48.56M  11.2MB/s    in 5.5s    
2022-07-07 05:13:43 (8.81 MB/s) - ‘rstudio-server-2021.09.0-351-amd64.deb’ saved [50916586/50916586]

Step 6: Install the gdebi rstudio server by using the below command

root@linuxhelp:~# gdebi rstudio-server-2021.09.0-351-amd64.deb
Reading package lists... Done
Building dependency tree        
Reading state information... Done

RStudio Server
Created symlink /etc/systemd/system/multi-user.target.wants/rstudio-server.service → /lib/systemd/system/rstudio-server.service.
● rstudio-server.service - RStudio Server
     Loaded: loaded (/lib/systemd/system/rstudio-server.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2022-01-04 05:15:34 IST; 1s ago
    Process: 54491 ExecStart=/usr/lib/rstudio-server/bin/rserver (code=exited, status=0/SUCCESS)
   Main PID: 54492 (rserver)
      Tasks: 3 (limit: 5291)
     Memory: 22.7M
     CGroup: /system.slice/rstudio-server.service
             ├─54492 /usr/lib/rstudio-server/bin/rserver
             ├─54514 /bin/sh -c /usr/bin/R --vanilla -s -e 'cat(R.Version()$major,R.Version()$minor, sep=".")'
             └─54515 /usr/lib/R/bin/exec/R --vanilla -s -e cat(R.Version()$major,R.Version()$minor,~+~sep=".")

July 07 05:15:34 linuxhelp systemd[1]: Starting RStudio Server...
July 07 05:15:34 linuxhelp systemd[1]: Started RStudio Server.

Step 7: Go to browser enter the IP address with port number. snap 1

Step 8: This is the login page of R studio. snap 2

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to Install R Studio on Linux Debian 11.3. Your feedback is much welcome.

Tags:
muhammad
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Is RStudio a programming language?

A

RStudio is a free and open-source integrated development environment (IDE) for R, a programming language for statistical computing and graphics.

Q

Do I need both R and RStudio?

A

Often referred to as an IDE, or integrated development environment, RStudio allows users to develop and edit programs in R by supporting a large number of statistical packages, higher-quality graphics, and the ability to manage your workspace.
R may be used without RStudio, but RStudio may not be used without R

Q

What is an R script?

A

An R script is simply a text file containing (almost) the same commands that you would enter on the command line of R.

Q

Is R similar to Python?

A

R and Python are both open-source programming languages with a large community.
R is mainly used for statistical analysis while Python provides a more general approach to data science.

Q

Who uses R programming?

A

Today, millions of analysts, researchers, and brands such as Facebook, Google, Bing, Accenture, and Wipro are using R to solve complex issues.
The applications of R are not limited to just one sector, we can see the use of R in banking, e-commerce, finance, and many more sectors.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Jayce ?
What are the types of table used in IPtables

What are the various types of table used in IPtables and how to use that for my server security?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.