Sonic Pi 4.3 installer for Ubuntu 22.04

I’ve produced an installer for Sonic Pi 4.3 for Ubuntu 22.04 (the latest LTS version).
Please view the video in the link before trying it. There are a couple of issues which it highlights. Note this is unlikely to work with other linux. It contains compiled files specific to this distribution. It MAY work on other flavours of ubuntu based on 22.04 and possibly on 22.1 but I haven’t tried it.


Hello! Great job! It should be available
here: Releases · sonic-pi-net/sonic-pi · GitHub

In addition the current version available in ubuntu software manager, and apt package doesn’t work on ubuntu 22

So again thank you!

Glad you like it. The reason it is not on the github site is that officially we only support the version for the Raspberry Pi on Linux. tweaks to develop and package for other linux flavours cannot be supported fully because there aren’t sufficient resources available to do so.
All the 4.3 version for Ubuntu is is a build from source on a virtual Ubuntu 22.04 machine, with the resulting code which is all contained in a relocatable folder packaged as a non standard binary only .deb file which also contains a list of the extra packages which need to be installed for it to run. It also has a .desktop file so that it will appear in the gui as an installed app icon. It is installed in /opt/sonic-pi, and not as a regular ubuntu package, and I cannot guarantee to give support for it.

Thank you for your explanation!

I think one day it would really be great to support one of the main desktop distribution like Ubuntu or Debian. But I suppose for now it’s not the majority of sonic pi users =)

I’ve successfully installed your deb package with “sudo dpkg -i sonic-pi_4.3.0_1_ubuntu22.04.amd64
.deb” without any issue. The splash screen appears when the application is launched. Many thanks for your package.

The splash screen usually appears on the first launch after starting the computer but will probably not on subsequent launches until the computer is rebooted. The cause is known but not yet fixed. This affects other Linux installs too.

Installed on KDE Plasma and Linux Mint Mate without problems, Thank you very much

Thanks that works well right out of the box on my recent Ubuntu 22.40 install!
One strange side effect though. After running sonic-pi I can hear my audio echoed. This affects all audio and for instance is very distracting when using google meet. The only way to fix that’s worked for me is removing pulseaudio and reinstalling it, which also uninstalls sonic pi. Is this a setting that sonic pi affects and is there a way to undo it with the command line, or maybe a config file in sonic pi?

Hmm. Not come across this problem on Ubuntu, but I’m only using a virtual build running on my Mac. SP uses jack to connect, but funnels this through to pulseaudio using a jack to pulseaudio link from Supercollider. This is provided by the pulseaudio-module-jack package.
It should just behave as any other pulseaudio input. If you install and run pavucontrol (The pulse audio volume control) you can see it listed as the input JACK source (Jack_to_PulseAudio). The JACK source should disappear when Sonic Pi is quit. Alternatively you could try using an independent usb soundcard and start that configured in qjackctl (which you can also install as a package if it is not there, and then start sonic pi and connect it directly to that card, rather than using its automatic connection via pulseaudio, leaving your pulse audio working independently of SP. Of course in that case you would have to use a different audio output for remaining sources eg Google Meet. Video conference software needs to grab and use audio and visual inputs and it may be that there is an interaction with it which is causing your echo?

If you want to raise and discuss this further I suggest you do it on the sonic pi github site as an issue. You may get better response there.

Additionally, it might make sense to chat with people in the pulseaudio community as they are much more likely to have direct experience of configuring and working audio on linux. Once the audio leaves jack, it’s very much in the domain of linux audio which has a myriad of different ways of working with it depending on distribution and configuration.