Any plan / hope that RStudio will be released at some point as a snap?
2 Likes
RMH
March 11, 2018, 9:16am
2
Yes that would be awesome!
dailies in a separate snap perhaps?
There are a bunch of competing systems for bundled Linux app deployment. Two others we've been asked about a lot are Flatpak:
rstudio:master
ā Alexander-Wilms:master
opened 10:45PM - 07 Jan 18 UTC
This adds a build recipe for a [Flatpak](https://flatpak.org) package.
You ca⦠n build, install & run RStudio like this:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.kde.Sdk 5.9
flatpak install flathub org.freedesktop.Sdk.Extension.gfortran-62
flatpak install flathub org.freedesktop.Sdk.Extension.openjdk9
flapak-builder --force-clean --ccache --repo=rstudio-repo rstudio-build com.rstudio.RStudio.json
flatpak remote-add --no-gpg-verify rstudio-repo rstudio-repo
flatpak install rstudio-repo com.rstudio.RStudio
flatpak run com.rstudio.RStudio
Since I don't know R, I couldn't thoroughly test this, but the demos worked. Only OpenJDK 9 is available as a Flatpak extension, so I had to upgrade GWT and GIN.
And AppImage:
We do hope to support at least one of these three (Flatpak, Snap, or AppImage) in the future, but haven't yet settled on which one is the superior distribution platform!
2 Likes
btreut
July 6, 2018, 12:41pm
4
Alexander Wilms initially had his flatpak available at Google drive (see: https://community.endlessos.com/t/what-about-r-in-endless/5252/5 ). I downloaded and installed it on a laptop with (EndlessOS)[https://endlessos.com/ ] preinstalled. It works nicely. EndlessOS uses flatpak exclusively.
We're currently tracking this in the following RStudio issue:
opened 09:32PM - 26 Jun 18 UTC
enhancement
As of this writing, we are currently building no fewer than five different versi⦠ons of RStudio Desktop for Linux:
1. for RedHat/CentOS based systems;
1. for Ubuntu based systems;
1. for OpenSuSE based systems with an *old* libssl;
1. for OpenSuSE based systems with a *new* libssl; and
1. for Debian 9+ based systems.
Despite this somewhat cumbersome matrix we *still* don't support many platforms and distributions.
This is a general issue with Linux applications, at least on the desktop; because of differing installation systems, packaging requirements, and system libraries, packages conforming to each system's idiosyncrasies are necessary.
[Several attempts have been made to solve the problem](https://xkcd.com/927/) by introducing an installation platform which encourages the bundling of dependencies (rather than relying on system versions), making application deployment on Linux more like it is on Mac/Windows. In true Linux fashion, there are many competing efforts:
**Flatpak** - https://flatpak.org/
**Snapcraft** - https://snapcraft.io/
**AppImage** - https://appimage.org/
We should evaluate these technologies in the next release cycle or so and see if any would be a good choice for RStudio Desktop (and in particular whether it'd allow us to simplify things or simply introduce a sixth variation!).
Feel free to vote/comment!