Can´t install libraries after starting using Processing in Snap

I installed Processing 4.4.4 using the Snap package (Snap is really painful). However, probably due to folder permissions and all the bizarre Snap infrastructure that I don’t understand well, when I try to install a library, it disappears after downloading and installation.

I’ve tried looking for tips on the forum or in web discussions, but I can’t figure out how to solve the problem. Can anyone help?

Can we please :sob: :sob: go back to the days when Processing was easy to install without Snap? We always waste so much time trying to make any software in snap work on Linux!

really Thx guys!!!

1 Like

Haven’t tried snap. But there’s this old thread about it:

I noticed another Linux issue: the file browsing window can’t access all my file system… https://github.com/processing/processing4/issues/1147

For those who arrive here in this discussion, please note that there is an unofficial version in Flatpak that solved my problems. For now, it seems to be working correctly, and the installation of Libraries is also working.

Processing on flathub

Hi @rbgtoffolo,

The Flathub package is stuck at Processing 4.3, so it only seems to “fix” things because you’re installing an older version (pre 4.4) where the issue didn’t exist yet.

For a real fix, try Processing 4.4.6 or 4.4.7. They’re available as a Snap with classic confinement (which bypasses all usual snap restrictions) and should work correctly.

See Processing 4.4.4 on Ubuntu 22.04 can’t access tty ports - #8 by sableraph

PS: We are also working on adding an official flatpak build to future releases (see Revisiting the GitHub Actions Release system (.flatpak + .deb) by Stefterv · Pull Request #1204 · processing/processing4 · GitHub)

(Raphaël)

Hello Raphaël,

Thank you very much for the tip, but unfortunately I have to stick with version 4.3 of Flatpak. The Snap version still doesn’t work, especially when we need to install extra libraries. The snap version of processing-video is a nightmare to get working. And since I use Processing with beginner students, it’s not feasible to go through the whole process of adjustments and environment configurations necessary to make the snap version work. I’m very happy to hear that a flatpak version is planned!!! I look forward to it. Once again… thank you very much for everyone’s effort and dedication… Processing really is a great project that we love!!!

You can download a zip version from Releases · processing/processing4 · GitHub and install that. It would be the processing-x.y.z-linux-x64-portable.zip.