Install up to date PureData?

Is it possible to get the latest Pure Data version ( (0.51-4) in to Patchbox OS? The Patchbox OS pre-installed version is Pd 0.50.2

That’s possible by downloading the PD Debian debs for buster:

First remove PD:

sudo apt remove puredata
sudo apt autoremove

Then install dependencies, download the debs and install them:

sudo apt install tcl tk

mkdir -p /tmp/pd
cd /tmp/pd

wget http://ftp.de.debian.org/debian/pool/main/p/puredata/puredata-core_0.51.4-1~bpo10+1_armhf.deb
wget http://ftp.de.debian.org/debian/pool/main/p/puredata/puredata-gui_0.51.4-1~bpo10+1_all.deb
wget http://ftp.de.debian.org/debian/pool/main/p/puredata/puredata-doc_0.51.4-1~bpo10+1_all.deb
wget http://ftp.de.debian.org/debian/pool/main/p/puredata/puredata-extra_0.51.4-1~bpo10+1_armhf.deb
wget http://ftp.de.debian.org/debian/pool/main/p/puredata/puredata-utils_0.51.4-1~bpo10+1_armhf.deb
wget http://ftp.de.debian.org/debian/pool/main/p/puredata/puredata-dev_0.51.4-1~bpo10+1_all.deb
wget http://ftp.de.debian.org/debian/pool/main/p/puredata/puredata_0.51.4-1~bpo10+1_all.deb

sudo dpkg -i *.deb

sudo apt install pisound-ctl-scripts-puredata

(the links to files taken from Debian -- Details of package puredata in buster-backports)

Thank you, but I recieved some errors. I will do a restart but here is what Terminal said:
Edit: after reboot I still have Pd 0.50.2, still working.

patch@patchbox:/tmp/pd $ 
patch@patchbox:/tmp/pd $ sudo dpkg -i *.deb
Selecting previously unselected package puredata.
(Reading database ... 81670 files and directories currently installed.)
Preparing to unpack puredata_0.51.4-1~bpo10+1_all.deb ...
Unpacking puredata (0.51.4-1~bpo10+1) ...
dpkg: regarding puredata-core_0.51.4-1~bpo10+1_armhf.deb containing puredata-core:
 puredata-core breaks puredata-gui (<< 0.51.4)
  puredata-gui (version 0.50.2-3) is present and installed.

dpkg: error processing archive puredata-core_0.51.4-1~bpo10+1_armhf.deb (--install):
 installing puredata-core would break puredata-gui, and
 deconfiguration is not permitted (--auto-deconfigure might help)
Selecting previously unselected package puredata-dev.
Preparing to unpack puredata-dev_0.51.4-1~bpo10+1_all.deb ...
Unpacking puredata-dev (0.51.4-1~bpo10+1) ...
Selecting previously unselected package puredata-doc.
Preparing to unpack puredata-doc_0.51.4-1~bpo10+1_all.deb ...
Unpacking puredata-doc (0.51.4-1~bpo10+1) ...
Selecting previously unselected package puredata-extra.
Preparing to unpack puredata-extra_0.51.4-1~bpo10+1_armhf.deb ...
Unpacking puredata-extra (0.51.4-1~bpo10+1) ...
dpkg: regarding puredata-gui_0.51.4-1~bpo10+1_all.deb containing puredata-gui:
 puredata-gui breaks puredata-core (<< 0.51.4)
  puredata-core (version 0.50.2-3) is present and installed.

dpkg: error processing archive puredata-gui_0.51.4-1~bpo10+1_all.deb (--install):
 installing puredata-gui would break puredata-core, and
 deconfiguration is not permitted (--auto-deconfigure might help)
Selecting previously unselected package puredata-utils.
Preparing to unpack puredata-utils_0.51.4-1~bpo10+1_armhf.deb ...
Unpacking puredata-utils (0.51.4-1~bpo10+1) ...
dpkg: dependency problems prevent configuration of puredata:
 puredata depends on puredata-core (>= 0.51.4-1~bpo10+1); however:
  Version of puredata-core on system is 0.50.2-3.
 puredata depends on puredata-gui (>= 0.51.4-1~bpo10+1); however:
  Version of puredata-gui on system is 0.50.2-3.

dpkg: error processing package puredata (--install):
 dependency problems - leaving unconfigured
Setting up puredata-dev (0.51.4-1~bpo10+1) ...
Setting up puredata-doc (0.51.4-1~bpo10+1) ...
dpkg: dependency problems prevent configuration of puredata-extra:
 puredata-extra depends on puredata-core (>= 0.51.4-1~bpo10+1); however:
  Version of puredata-core on system is 0.50.2-3.

dpkg: error processing package puredata-extra (--install):
 dependency problems - leaving unconfigured
Setting up puredata-utils (0.51.4-1~bpo10+1) ...
Processing triggers for man-db (2.8.5-2) ...
Errors were encountered while processing:
 puredata-core_0.51.4-1~bpo10+1_armhf.deb
 puredata-gui_0.51.4-1~bpo10+1_all.deb
 puredata
 puredata-extra
patch@patchbox:/tmp/pd $ sudo apt install pisound-ctl-scripts-puredata
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 puredata : Depends: puredata-core (>= 0.51.4-1~bpo10+1) but 0.50.2-3 is to be installed
        Depends: puredata-gui (>= 0.51.4-1~bpo10+1) but 0.50.2-3 is to be installed
 puredata-extra : Depends: puredata-core (>= 0.51.4-1~bpo10+1) but 0.50.2-3 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
patch@patchbox:/tmp/pd $

Looks like the previous PD was not fully removed. Try doing the following:

sudo apt remove puredata puredata-core puredata-dev puredata-doc puredata-extra puredata-gui puredata-utils

and try the dpkg line again.

Sorry, but I am quite a noob when it comes to Linux.

I got this then:

patch@patchbox:~ $ sudo apt remove puredata puredata-core puredata-dev puredata-doc puredata-extra puredata-gui puredata-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 pd-comport : Depends: puredata-core but it is not going to be installed or
                       pd
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
patch@patchbox:~ $ sudo dpkg -i *.deb
dpkg: error: cannot access archive '*.deb': No such file or directory
patch@patchbox:~ $

Try sudo apt remove pd-comport, and try again.