# Binary deb for Ubuntu 20.04 AND 20.1 for SP 3.3.1

**URL:** <https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141>\
**Category:** Support, Help & Resources\
**Created:** [February 13, 2021, 11:37am UTC](https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141 "2021-02-13T11:37:15Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![robin.newman](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@robin.newman](https://in-thread.sonic-pi.net/u/robin.newman)\
**Post date:** [February 13, 2021, 11:37am UTC](https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141/1 "2021-02-13T11:37:15Z")

</div>

I have created a binary deb file for Sonic Pi 3.3.1 specifically for Ubuntu 20.04 (amd64) . It may well work on closely related Linux OS, but this has not been tested.  
Like the Raspberry Pi installation, it is built assuming that pulseaudio is installed (as is the case for a standard Ubuntu 20.04 desktop install), and by default will use this for selecting the output audio path, using the Ubuntu sound tab in the settings module. However the internal workings of Sonic Pi remain based on Jack, and, provided that you select a sound output device that is NOT currently the default pulseaudio output device, you can start Jack using the QjackCtl interface, and configure your device for optimum sample rate, and latency, and use it as for previous versions if you need better performance.  
I have tested the installation fairly throughly on a virtual Ubuntu machine, and it has worked well.  
Some release notes are included with the download. Please read them before use, particularly noting the need to add your ubuntu username to the audio group as detailed.

[The download link is here](https://drive.google.com/file/d/1y9WncMA0kFF-E3feC0nFfGs5etpiFAOx/view?usp=sharing)

EDIT just tested it on Ubuntu 20.1 and it runs there as well!

---

<div class="post-metadata">

**Author:** ![samaaron](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/samaaron/32/7_2.png) [@samaaron](https://in-thread.sonic-pi.net/u/samaaron)\
**Post date:** [April 14, 2021, 8:27am UTC](https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141/2 "2021-04-14T08:27:45Z")

</div>

Thanks so much for this Robin! Without your work support for Raspberry Pi would very much not be where it is today.

---

<div class="post-metadata">

**Author:** ![nlb](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nlb/32/997_2.png) [@nlb](https://in-thread.sonic-pi.net/u/nlb)\
**Post date:** [October 17, 2021, 4:08pm UTC](https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141/3 "2021-10-17T16:08:16Z")

</div>

hi @robin.newman

On a fresh Ubuntu 20.04.3, i get this issue :

```ruby
sudo dpkg -i UbuntuSP3.3.1BinaryDeb/sonic-pi_3.3.1_2_amd64.deb 
[sudo] Mot de passe de nlb : 
Sélection du paquet sonic-pi précédemment désélectionné.
(Lecture de la base de données... 172013 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../sonic-pi_3.3.1_2_amd64.deb ...
Dépaquetage de sonic-pi (2:3.3.1) ...
dpkg: des problèmes de dépendances empêchent la configuration de sonic-pi :
sonic-pi dépend de libatomic1 (>= 4.8) ; cependant :
 Le paquet libatomic1 n'est pas installé.
sonic-pi dépend de libqt5concurrent5 (>= 5.0.2) ; cependant :
 Le paquet libqt5concurrent5 n'est pas installé.
sonic-pi dépend de ruby ; cependant :
 Le paquet ruby n'est pas installé.
sonic-pi dépend de supercollider-server ; cependant :
 Le paquet supercollider-server n'est pas installé.
sonic-pi dépend de sc3-plugins-server ; cependant :
 Le paquet sc3-plugins-server n'est pas installé.
sonic-pi dépend de erlang-base ; cependant :
 Le paquet erlang-base n'est pas installé.

dpkg: erreur de traitement du paquet sonic-pi (--install) :
problèmes de dépendances - laissé non configuré
Traitement des actions différées (« triggers ») pour desktop-file-utils (0.24-1ubuntu3) ...
Traitement des actions différées (« triggers ») pour gnome-menus (3.36.0-1ubuntu1) ...
Traitement des actions différées (« triggers ») pour mime-support (3.64ubuntu1) ...
Traitement des actions différées (« triggers ») pour man-db (2.9.1-1) ...
Des erreurs ont été rencontrées pendant l'exécution :
sonic-pi

```

It seems that a lot of dependencies are not installed.  
Cheers

---

<div class="post-metadata">

**Author:** ![robin.newman](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@robin.newman](https://in-thread.sonic-pi.net/u/robin.newman)\
**Post date:** [October 17, 2021, 10:02pm UTC](https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141/4 "2021-10-17T22:02:43Z")

</div>

Dont use dpkg to install use apt. This will pull in the required packages.  
`sudo apt install ./pathtodeb`

---

<div class="post-metadata">

**Author:** ![nlb](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nlb/32/997_2.png) [@nlb](https://in-thread.sonic-pi.net/u/nlb)\
**Post date:** [October 18, 2021, 9:23am UTC](https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141/5 "2021-10-18T09:23:34Z")

</div>

Hi @robin.newman

Oh i’m a bit sorry… Of course you’re right

In case someone makes the same error as me, this is a solution.

```ruby
nlb@dellux:~/Téléchargements$ sudo apt install ./UbuntuSP3.3.1BinaryDeb/sonic-pi_3.3.1_2_amd64.deb 
[sudo] Mot de passe de nlb : 
Désolé, essayez de nouveau.
[sudo] Mot de passe de nlb : 
sudo: 1 saisie de mot de passe incorrecte
nlb@dellux:~/Téléchargements$ sudo apt install ./UbuntuSP3.3.1BinaryDeb/sonic-pi_3.3.1_2_amd64.deb 
[sudo] Mot de passe de nlb : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Vous pouvez lancer « apt --fix-broken install » pour corriger ces problèmes.
Les paquets suivants contiennent des dépendances non satisfaites :
 sonic-pi : Dépend: libatomic1 (>= 4.8) mais il n'est pas installé
            Dépend: libqt5concurrent5 (>= 5.0.2) mais il n'est pas installé
            Dépend: ruby mais il n'est pas installé
            Dépend: supercollider-server mais il n'est pas installé
            Dépend: sc3-plugins-server mais il n'est pas installé
            Dépend: erlang-base mais il n'est pas installé
E: Dépendances non satisfaites. Essayez « apt --fix-broken install » sans paquet
   (ou indiquez une solution).

```

so i did `apt --fix-broken install` and everything is working !

Again, sorry for the inconvenience

Cheers

---

<div class="post-metadata">

**Author:** ![robin.newman](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@robin.newman](https://in-thread.sonic-pi.net/u/robin.newman)\
**Post date:** [October 18, 2021, 10:37am UTC](https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141/6 "2021-10-18T10:37:00Z")

</div>

NP I got it wrong first time too 🙂

---

<div class="post-metadata">

**Author:** ![jean31270](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/jean31270/32/1018_2.png) [@jean31270](https://in-thread.sonic-pi.net/u/jean31270)\
**Post date:** [December 12, 2021, 11:43am UTC](https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141/7 "2021-12-12T11:43:10Z")

</div>

Successfully installed on Debian 12 (Bookworm).  
Just needed a little `apt --fix-broken install`  
Thanks for this linux package.

---

<div class="post-metadata">

**Author:** ![minetestist](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/minetestist/32/2194_2.png) [@minetestist](https://in-thread.sonic-pi.net/u/minetestist)\
**Post date:** [January 9, 2022, 6:11pm UTC](https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141/8 "2022-01-09T18:11:51Z")

</div>

Oh man! Thank you so much for this… It’s the only 3.x version that ever worked on my Ubuntu machines!

---

<div class="post-metadata">

**Author:** ![minced\_mind](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@minced\_mind](https://in-thread.sonic-pi.net/u/minced_mind)\
**Post date:** [February 9, 2022, 11:52pm UTC](https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141/10 "2022-02-09T23:52:22Z")

</div>

Hi Robin,

I upgraded to Debian 11 (Bullseye, amd64) some days ago and had trouble with the Debian standard version 3.2.2 (broken with\_merged\_sample\_defaults function) and tried out your package for version 3.3.1 of Sonic-Pi. It installed and worked like a charm on this setup. Nice to know that it can also run with pulseaudio. Can be neat in some situations. I combine it with qjackctl and use jackd for the audiostuff which runs very good and allows me to put other audio tools in line if needed (eq10q sometimes).  
In the projects I have tested so far, Sonic-Pi 3.3.1 seems to have better performance (lesser cpu utilization) than older versions. Nice job Sam 🙂  
So, all in all, a big thank you to you Robin and also to you Sam. Hope, you are doing well in these current times.  
Cu

---

<div class="post-metadata">

**Author:** ![robin.newman](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@robin.newman](https://in-thread.sonic-pi.net/u/robin.newman)\
**Post date:** [February 10, 2022, 9:20am UTC](https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141/11 "2022-02-10T09:20:14Z")

</div>

Glad it’s working well for you. Makes the effort to produce it worthwhile.

---

<div class="post-metadata">

**Author:** ![apreczewski](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/apreczewski/32/2518_2.png) [@apreczewski](https://in-thread.sonic-pi.net/u/apreczewski)\
**Post date:** [March 15, 2023, 12:36pm UTC](https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141/12 "2023-03-15T12:36:29Z")

</div>

Oh man! Thank you so much for this!
