Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tested installation on Ubuntu 20.04: fails without qt-sdk #12

Open
ghost opened this issue Sep 10, 2020 · 15 comments
Open

Tested installation on Ubuntu 20.04: fails without qt-sdk #12

ghost opened this issue Sep 10, 2020 · 15 comments

Comments

@ghost
Copy link

ghost commented Sep 10, 2020

Raspberry Pi 4B
Ubuntu 20.04

sudo ./ARM-RStudio.sh
produces error:
E: Unable to locate package qt-sdk

After some investigation of various installation sources, neither qt-sdk, or libqt4-dev appear to be available for fossa arm64

I'll take a closer look at the script to see if there is a workaround.

@znmeb
Copy link

znmeb commented Sep 10, 2020

I gave up on the desktop - the server has the same UI and I can browse to it from localhost or on my network. All the code is here at https://github.com/znmeb/edgyR.git. I build in a Docker image on an NVIDIA Jetson; you'll probably have to change some things up for the Raspberry Pi.

@arencambre
Copy link

Per https://doc.qt.io/qt-5/supported-platforms.html, there are supported platforms involving Ubuntu and ARM but not together.

@znmeb
Copy link

znmeb commented Dec 9, 2020

Per https://doc.qt.io/qt-5/supported-platforms.html, there are supported platforms involving Ubuntu and ARM but not together.

You can always build Qt from source. But it takes forever on a Jetson / Raspberry Pi and there are no free arm64 servers in the cloud - you have to pay for them.

I'm very happy with RStudio Server; in Chrome / Chromium with full-page browsing (F11) I can't tell the difference.

@bshor
Copy link

bshor commented Dec 23, 2020

I'm having the same problem on my Lenovo Chromebook Duet. It can install R but fails at qt-sdk.

I'd really like to have a local version of R and RStudio as I only have Windows running on the desktops and WSL2 is still very finicky.

@znmeb
Copy link

znmeb commented Dec 23, 2020

I'm having the same problem on my Lenovo Chromebook Duet. It can install R but fails at qt-sdk.

I'd really like to have a local version of R and RStudio as I only have Windows running on the desktops and WSL2 is still very finicky.

RStudio Server runs just fine on WSL-2. The desktop works with X410 but it's not as efficient as the Windows build of RStudio Desktop.

@bshor
Copy link

bshor commented Dec 24, 2020

I had difficulties with accessing RStudio Server running on WSL2 off the network. But to each his/her own.

I'm willing to build Qt from source so I can install this. How difficult would it be for a Linux newbie?

Unless you all are talking about install RStudio Server on the Chromebook, and then accessing it from the browser on the very same system? Seems kind of roundabout...

@znmeb
Copy link

znmeb commented Dec 24, 2020

I had difficulties with accessing RStudio Server running on WSL2 off the network. But to each his/her own.

I'm willing to build Qt from source so I can install this. How difficult would it be for a Linux newbie?

Unless you all are talking about install RStudio Server on the Chromebook, and then accessing it from the browser on the very same system? Seems kind of roundabout...

The effort-to-payoff ratio for compiling Qt from source was more that I was willing to accept. :-) How much RAM does your Chromebook have? I had to limit the number of processes on my 4 GB Nano to get the Java part of RStudio Server to build. I'm doing all my builds on an AGX Xavier now. Mine has 16 GB of RAM but the newer ones have 32 GGB.

@bshor
Copy link

bshor commented Dec 24, 2020

Chromebook Lenovo has 4Gb RAM/128Gb storage.

@znmeb
Copy link

znmeb commented Dec 24, 2020

Chromebook Lenovo has 4Gb RAM/128Gb storage.

My Nano has 4 GB and a 256 GB microSD and it runs RStudio Server. The Docker image is about 6 GB so you should be fine.

@bshor
Copy link

bshor commented Dec 24, 2020

Are you talking about following these instructions for the Raspberry Pi and Docker? That was the closest I could find.

@znmeb
Copy link

znmeb commented Dec 24, 2020

Are you talking about following these instructions for the Raspberry Pi and Docker? That was the closest I could find.

I have my own Docker build process from upstream source. It's in a state of flux right now because I'm also building POCL, libnode-dev (required by the R V8 package), and a newer pandoc (required by distill. The pandoc piece doesn't work on the Nano - not enough RAM.

@bshor
Copy link

bshor commented Dec 24, 2020

That's now way beyond me. I see how everything is easy in Linux world with an Intel CPU. But if you get an ARM64 CPU, you're much more on your own. I envy the Mac people where their new M1 chip is going to get rapid support.

I totally failed, for example, in installing R above 3.5.2, which comes with Debian 10 Buster on my Crostini distribution within the Lenovo Chromebook Duet. All the tutorials online mention AMD64 (Intel) binaries...

My new strategy is forgetting RStudio on ARM for now and just using R Studio Server running on a desktop somewhere.

@bshor
Copy link

bshor commented Dec 28, 2020

Retried RStudio Server on WSL2+Ubuntu 20.04 and it works great now.

The Chromebook now gets to use the resources of the desktop. Too bad I can't do anything when the network is out, but that's pretty rare now I guess.

@znmeb
Copy link

znmeb commented Dec 28, 2020

@bshor Does the Chrome desktop sharing setup work with a Chromebook as a client?

@bshor
Copy link

bshor commented Dec 29, 2020

Well it's not a desktop sharing setup like Remote Desktop if that's what you're asking (although trying RDP is on my list of to-do items for the Chromebook). It's serving an R-specific IDE through the web browser, rather than running it locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants