How to install R studio server on Ubuntu 21.04
To Install R Studio server on Ubuntu 21.04
Introduction:
R is a programming language used for statistical computing, R Studio uses R language to develop statistical programs R studio server which is Linux server applications that provides web-browser based application.
Dependency Packages
r-base
gdebi-core
Installation Procedure:
Checking the OS version
linuxhelp@linuxhelp:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
Log in as root user
linuxhelp@linuxhelp:~$ sudo -s
Changing directory
root@linuxhelp:/home/linuxhelp# cd /
Installing the r-base
root@linuxhelp:/# apt install r-base
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu build-essential bzip2-doc
dpkg-dev fakeroot g++ g++-10 gcc gcc-10 gcc-11-base gfortran gfortran-10
icu-devtools libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasan6 libatomic1 libbinutils libblas-dev libblas3
libbz2-dev libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev
libctf-nobfd0 libctf0 libfakeroot libgcc-10-dev libgcc-s1 libgfortran-10-dev
libgfortran5 libgomp1 libicu-dev libitm1 libjpeg-dev libjpeg-turbo8-dev
libjpeg8-dev liblapack-dev liblapack3 liblsan0 liblzma-dev libncurses-dev
libncurses5-dev libnsl-dev libpcre16-3 libpcre2-16-0 libpcre2-dev
libpcre2-posix2 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpng-dev
libpng-tools libquadmath0 libreadline-dev libstdc++-10-dev libstdc++6
libtirpc-dev libtk8.6 libtsan0 libubsan1 linux-libc-dev lto-disabled-list
make manpages-dev r-base-core r-base-dev r-base-html r-cran-boot
r-cran-class r-cran-cluster r-cran-codetools r-cran-foreign
r-cran-kernsmooth r-cran-lattice r-cran-mass r-cran-matrix r-cran-mgcv
r-cran-nlme r-cran-nnet r-cran-rpart r-cran-spatial r-cran-survival
r-doc-html r-recommended rpcsvc-proto zlib1g-dev
Installing the gdebi-core installer
root@linuxhelp:/# apt install gdebi-core
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
gdebi-core
0 upgraded, 1 newly installed, 0 to remove and 253 not upgraded.
Need to get 116 kB of archives.
After this operation, 876 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu hirsute/universe amd64 gdebi-core all 0.9.5.7+nmu4 [116 kB]
Fetched 116 kB in 0s (641 kB/s)
Selecting previously unselected package gdebi-core.
(Reading database ... 157139 files and directories currently installed.)
Preparing to unpack .../gdebi-core_0.9.5.7+nmu4_all.deb ...
Unpacking gdebi-core (0.9.5.7+nmu4) ...
Setting up gdebi-core (0.9.5.7+nmu4) ...
Processing triggers for man-db (2.9.4-2) ...
Downloading the rstudio file
root@linuxhelp:/# wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-2021.09.0-351-amd64.deb
--2021-10-04 13:41:44-- 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.29, 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-2021.09.0-351-amd64.deb 100%[==============================================================================================>] 48.56M 11.2MB/s in 4.3s
2021-10-04 13:41:49 (11.2 MB/s) - ‘rstudio-server-2021.09.0-351-amd64.deb’ saved [50916586/50916586]
Installing R Studio by using g-debi installer
root@linuxhelp:/# gdebi rstudio-server-2021.09.0-351-amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reading state information... Done
Requires the installation of the following packages: lib32gcc-s1 lib32stdc++6 libc6-i386 libclang-12-dev libclang-common-12-dev libclang-dev libclang1-12 libllvm12 libobjc-10-dev libobjc4 libpq5
RStudio Server
RStudio is a set of integrated tools designed to help you be more productive with R. It includes a console, syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, and workspace management.
Do you want to install the software package? [y/N]:y
/usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1
c = findall("[[(](\S+)/\S+[])]", msg)[0].lower()
Ping IP address with port number 8787 on browser
With this steps the installation of R studio server comes to end
Comments ( 0 )
No comments available