Processing 3.4 removal

Hello All,

I need to remove Processing 3.4 and instead install 2.2.1 on a Raspberry Pi 3 B+ running Stretch. I have tried several different ways to remove/purge 3.4 but had no luck. How do I remove it? I installed 3.4 via the following command…

 curl https://processing.org/download/install-arm.sh | sudo sh

Is this somehow affecting my ability to remove it?

Thanks,

Z

1 Like

good question, but as i see

https://processing.org/download/

Stable Releases
3.4 (26 July 2018) Win 32 Win 64 Linux 32 Linux 64 Linux ARMv6hf Mac OS X
3.3.7 (13 March 2018) Win 32 Win 64 Linux 32 Linux 64 Linux ARMv6hf Mac OS X
2.2.1 (19 May 2014) Win 32 Win 64 Linux 32 Linux 64 Mac OS X
1.5.1 (15 May 2011) Win (standard) Win (no Java) Linux x86 Mac OS X 

not sure it would be available anyhow

if you find the version you want for RPI you could just try to install it over

according that bash script it ends up in
/usr/local/lib/processing-3.4
( and there you see also a uninstall )

with a link from above
~processing
if you ignore that and the application… .desktop… things and just start
directly from that directory, i would not see as problem to have there
both versions. just make your own desktop .desktop files for it

get original from
/usr/local/share/applications/processing.desktop
copy it to
/home/pi/Desktop
but give it a different filename: processing34.desktop
and inside a different name=processing34
and that is what it is all about, hardcode the path to the app
Exec=/usr/local/lib/processing-3.4/processing %F

1 Like

Thanks for the reply and for sorting through the bash and finding the location. I have managed to remove one instance of Processing. But now I find that I have a second in a different location and when I remove that second instance I get the following…

pi@raspberrypi:/usr/local/share/applications dir processing.desktop pi@raspberrypi:/usr/local/share/applications sudo apt remove processing.desktop
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package processing.desktop
E: Couldn’t find any package by glob ‘processing.desktop’
E: Couldn’t find any package by regex ‘processing.desktop’

What am I missing here?

I am new to Linux & Raspberry Pi so I am not always able to describe the problem accurately.

where you find something, how you try to remove?

pi@raspberrypi:/usr/local/share/applications sudo apt remove processing.desktop

sudo apt is for package install / remove
can not work for “processing.desktop”

if there is a file processing.desktop
and you not like it, delete it the linux way

in a terminal type

info rm

1 Like

Here is what I get…

pi@raspberrypi:/usr/local/share/applications rm processing.desktop rm: remove write-protected regular file 'processing.desktop'? y rm: cannot remove 'processing.desktop': Permission denied pi@raspberrypi:/usr/local/share/applications dir
processing.desktop
pi@raspberrypi:/usr/local/share/applications rm -f -r processing pi@raspberrypi:/usr/local/share/applications dir
processing.desktop
pi@raspberrypi:/usr/local/share/applications rm -f -r processing.desktop rm: cannot remove 'processing.desktop': Permission denied pi@raspberrypi:/usr/local/share/applications

Figured out the permission issue and the processing.desktop file is no longer there or listed as a programming option. Thank you for your help.

1 Like