{"id":1530,"date":"2021-12-16T12:18:42","date_gmt":"2021-12-16T09:18:42","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/05\/21\/how-to-set-up-rstudio-ide-on-linux\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/05\/21\/how-to-set-up-rstudio-ide-on-linux\/"},"modified":"2021-12-16T12:18:42","modified_gmt":"2021-12-16T09:18:42","slug":"how-to-set-up-rstudio-ide-on-linux","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1530-how-to-set-up-rstudio-ide-on-linux\/","title":{"rendered":"How to set up RStudio IDE on Linux"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>Rstudio IDE is a tool that allows users to be more productive with R as well as Python. It includes loads of useful features, from syntax-highlighting, direct code execution, and more. Here\u2019s how to install Rstudio IDE on Linux.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-402316 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-rstudio-ide-on-linux.png\" alt=\"RStudio IDE on Linux\" width=\"1200\" height=\"933\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-rstudio-ide-on-linux.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-rstudio-ide-on-linux-2.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-rstudio-ide-on-linux-3.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-rstudio-ide-on-linux-4.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<h2>Ubuntu installation instructions<\/h2>\n<p>To install Rstudio IDE on Ubuntu Linux, you will need to do it via a downloadable DEB package. As of now, Rstudio has two downloadable DEB packages. One package is for Ubuntu 16.04, and the other is Ubuntu 18.04+.\u00a0<\/p>\n<p>To get your hands on the DEB package, open up a terminal window. You can open up a terminal window by pressing\u00a0<strong>Ctrl + Alt + T\u00a0<\/strong>on the keyboard. Or, search for the terminal window in the app menu and launch it that way.<\/p>\n<p>Once the terminal window is open, use the wget command down below to download the Ubuntu DEB package directly to your \u201cDownloads\u201d folder. Or, if you prefer to download via browser, click this link here.<\/p>\n<p><strong>Ubuntu 18.04+\u00a0<\/strong><\/p>\n<pre>\nwget https:\/\/download1.rstudio.org\/desktop\/bionic\/amd64\/rstudio-1.4.1106-amd64.deb -O ~\/Downloads\/rstudio-1.4.1106-amd64.deb\n<\/pre>\n<p><strong>Ubuntu 16.04<\/strong><\/p>\n<pre>\nwget https:\/\/download1.rstudio.org\/desktop\/xenial\/amd64\/rstudio-1.4.1106-amd64.deb -O ~\/Downloads\/rstudio-1.4.1106-amd64.deb\n<\/pre>\n<p>When the download is complete, the installation of Rstudio on Ubuntu can begin. Using the\u00a0<strong>CD\u00a0<\/strong>command, move into the \u201cDownloads\u201d folder where the DEB package was downloaded.\u00a0<\/p>\n<pre>\ncd ~\/Downloads\/\n<\/pre>\n<p>From here, install the Rstudio DEB package on Ubuntu using the\u00a0<strong>apt install\u00a0<\/strong>command below. Using\u00a0<strong>apt install\u00a0<\/strong>rather than the\u00a0<strong>dpkg\u00a0<\/strong>tool will allow Ubuntu to correct dependencies on the fly rather than after the fact.<\/p>\n<pre>\nsudo apt install .\/rstudio-1.4.1106-amd64.deb\n<\/pre>\n<h2>Debian installation instructions<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-402316 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-rstudio-ide-on-linux.png\" alt=\"\" width=\"1200\" height=\"933\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-rstudio-ide-on-linux.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-rstudio-ide-on-linux-2.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-rstudio-ide-on-linux-3.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-rstudio-ide-on-linux-4.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p>To install Rstudio IDE on Debian Linux, you\u2019ll need to download the DEB package from their website. As of now, Rstudio has support for both Debian 10 as well as Debian 9.<\/p>\n<p>To start the download for Rstudio on Debian, you\u2019ll need to launch a terminal window. To launch a terminal window on the desktop, press\u00a0<strong>Ctrl + Alt + T\u00a0<\/strong>on the keyboard. Or use the app menu to launch the terminal window.<\/p>\n<p>Inside the terminal window, use the <strong>wget\u00a0<\/strong>download command to grab the latest Rstudio DEB package. Or, if you prefer to download via the web browser, click on this link here and grab either the Debian 9 or 10 package.<\/p>\n<p><strong>Debian 10<\/strong><\/p>\n<pre>\nwget https:\/\/download1.rstudio.org\/desktop\/bionic\/amd64\/rstudio-1.4.1106-amd64.deb -O ~\/Downloads\/rstudio-1.4.1106-amd64.deb\n<\/pre>\n<p><strong>Debian 9<\/strong><\/p>\n<pre>\nwget https:\/\/download1.rstudio.org\/desktop\/debian9\/x86_64\/rstudio-1.4.1106-amd64.deb ~\/Downloads\/rstudio-1.4.1106-amd64.deb\n<\/pre>\n<p>When the download is complete, use the\u00a0<strong>CD\u00a0<\/strong>command to move into the \u201cDownloads\u201d folder where the DEB package is.\u00a0<\/p>\n<pre>\ncd ~\/Downloads\/\n<\/pre>\n<p>Once inside of the \u201cDownloads\u201d folder, the installation can begin. Using the\u00a0<strong>dpkg\u00a0<\/strong>command below, set up the Rstudio DEB package on your computer.<\/p>\n<pre>\nsudo dpkg -i rstudio-1.4.1106-amd64.deb\n<\/pre>\n<p>Following the Rstudio DEB package installation, you\u2019ll need to correct the dependency issues during the installation process. To fix these issues, make use of the following <strong>apt-get install -f\u00a0<\/strong>command below.<\/p>\n<pre>\nsudo apt-get install -f\n<\/pre>\n<h2>Arch Linux installation instructions<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-402317 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-rstudio-ide-on-linux-1.png\" alt=\"\" width=\"1200\" height=\"758\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-rstudio-ide-on-linux-1.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-rstudio-ide-on-linux-5.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-rstudio-ide-on-linux-6.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-rstudio-ide-on-linux-7.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p>To install Rstudio on Arch Linux, you need only look to the Arch Linux AUR. There\u2019s a dedicated Rstudio package, and everything sets up nicely without much effort.\u00a0<\/p>\n<p>To start the installation, open up a terminal window. You can open up a terminal window on the Arch desktop with\u00a0<strong>Ctrl + Alt + T\u00a0<\/strong>on the keyboard or search for \u201cterminal\u201d in the app menu.<\/p>\n<p>Using the\u00a0<strong>pacman\u00a0<\/strong>command, install both the\u00a0<strong>git\u00a0<\/strong>and\u00a0<strong>base-devel\u00a0<\/strong>packages. These packages are required to interact with the AUR, so don\u2019t skip it!<\/p>\n<pre>\nsudo pacman -S git base-devel\n<\/pre>\n<p>From here, set up the Trizen AUR helper. This app makes it so that you do not need to hassle with the Rstudio AUR package. It does everything automatically and is quite lovely.<\/p>\n<pre>\ngit clone https:\/\/aur.archlinux.org\/trizen.git\ncd trizen\/\nmakepkg -sri\n<\/pre>\n<p>From here, install the Rstudio AUR package by making use of the\u00a0<strong>trizen -S\u00a0<\/strong>command below.<\/p>\n<pre>\ntrizen -S rstudio-desktop-bin\n<\/pre>\n<h2>Fedora installation instructions<\/h2>\n<p>You can install Rstudio on Fedora Linux by downloading the official RPM package release. To start, open up a terminal window by pressing\u00a0<strong>Ctrl + Alt + T\u00a0<\/strong>on the keyboard or by searching for \u201cTerminal\u201d in the app menu and launching it that way.<\/p>\n<p>With the terminal window open and ready to use, run the\u00a0<strong>dnf install<\/strong> command to download and install the latest Rstudio RPM package to your Fedora Linux PC directly from the internet.<\/p>\n<pre>\nsudo dnf install https:\/\/download1.rstudio.org\/desktop\/centos8\/x86_64\/rstudio-1.4.1106-x86_64.rpm\n<\/pre>\n<h2>OpenSUSE installation instructions<\/h2>\n<p>If you need to install Rstudio on OpenSUSE Linux, you must set it up via the OpenSUSE RPM package they have on the download page. To start the installation process, launch a terminal window by pressing\u00a0<strong>Ctrl + Alt + T\u00a0<\/strong>or by searching for \u201cTerminal\u201d in the app menu.<\/p>\n<p>With the terminal window open, use the\u00a0<strong>wget\u00a0<\/strong>command to download the Rstudio RPM package directly to your computer. This download will not take long, as it is only a couple of megabytes in size.<\/p>\n<pre>\nwget https:\/\/download1.rstudio.org\/desktop\/opensuse15\/x86_64\/rstudio-1.4.1106-x86_64.rpm\n<\/pre>\n<p>When the download is complete, you can install Rstudio on OpenSUSE by making use of the following\u00a0<strong>zypper install\u00a0<\/strong>command.\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles Rstudio IDE is a tool that allows users to be more productive with R as well as Python. It includes loads of useful features, from syntax-highlighting, direct code execution, and more. Here\u2019s how to install Rstudio IDE on Linux. Ubuntu installation instructions To install Rstudio IDE on Ubuntu Linux, you will need to &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1531,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[33],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1530"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1530"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1530\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1531"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}