Hello, I am trying to install RStudio desktop on my laptop running OpenSUSE Tumbleweed.
This is the output of zypper, it complains about a missing file:
alessandro@localhost:~> sudo zypper in rstudio
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: 1: nothing provides 'libboost_filesystem.so.1.86.0()(64bit)' needed by the to be installed rstudio-2024.04.0+735-2.1.x86_64
Solution 1: do not install rstudio-2024.04.0+735-2.1.x86_64
Solution 2: break rstudio-2024.04.0+735-2.1.x86_64 by ignoring some of its dependencies
If I try to look for it, I see that there is no package providing that file:
alessandro@localhost:~> zypper se --provides libboost_filesystem.so.1.86.0
Loading repository data...
Reading installed packages...
No matching items found.
How can I install RStudio, then? Should I find an alternative way to install libboost_filesystem.so.1.86.0?
Thank you for any advice.
System info:
Operating System: openSUSE Tumbleweed 20250405
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.14.0-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-4720HQ CPU @ 2.60GHz
Memory: 15.5 GiB of RAM
Graphics Processor 1: Intel® HD Graphics 4600
Graphics Processor 2: NVIDIA GeForce GTX 960M
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: N551JW
System Version: 1.0
It probably makes sense to notify the maintainer (it’s in the main OSS repo, so you probably can just open a report at bugzilla.o.o to report the broken dependency).
I use rstudio in leap quite a bit. Installed from repos. Excellent app.
After seeing your message, I see that tumbleweed has libboost_filesystem.so.1.87.0 installed; not libboost_filesystem.so.1.86.0.
Likely maintainer can easily fix this as time is available.
Otherwise, you could look for an rpm in “rpmfind” for libboost_filesystem.so.1.86.0 and install into /usr/lib64. That should work.
You could try a link for libboost_filesystem.so.1.86.0 → libboost_filesystem.so.1.87.0. Might work.
You could downgrade libboost_filesystem.so.1.87.0 to libboost_filesystem.so.1.86.0 if that version is available in tumbleweed repos. Didn’t look at this possibility is available but could affect other apps.
Sorry, you need to install many libboost_86 programs from rpmfind… Not just one. I installed 4 and it kept asking for more. Not a viable solution unless you really need rstudio in tumbleweed.
Do you know of an alternative way of installing RStudio on Tumbleweed?
I would hate to have to change distro just for this, but RStudio is quite important for my work.
Alternatively you can install the official package from Posit:
It says “OpenSUSE 15”, but it should work like a charm on Tumbleweed too (I have always used it on Leap15.6 and it worked perfectly) - there is a sha, so you can check for integrity.
It is enough to have just R-base installed: sudo zypper install R-base
(I am not sure if R-base-devel is needed, depending on what you do with R, but I think that’s more for developing (than for coding).)
Oops, my bad, that’s what you get for looking at bugs when you are tired…
I installed it through the official .rpm, but it crashed immediately on startup, complaining about a missing library (libssl.so.1.1).
Following the advice in this thread, I downloaded the missing library from here (the experimental version, since there is no official package for tumbleweed).
After installing it, RStudio now starts successfully!
Thank you all for the advice, it took some work, but it seems like that downloading the official package is the most reliable option (at least for me).