I have decided to switch to Linux and picked this distro as I am a gamer and about to install the OS. However, I have processing scripts that I need for making my glitch art possible.
I searched the forum for any mentions, but nobody has tried it yet. Is it possible to install Processing 2 and 3 side by side?
I believe AUR has only one version of processing which has been included in chaotic-AUR as well,
chaotic-aur/processing 4.3-2.2
Programming environment for creating images, animations and interactions
Or if you want you can manually install (and keep it updated) processing as well. Ignoring the system wide package manager pacman and it’s benefits of updating all packages at once, removing all files associated with a package etc.
neither processing 2 or 3 are updated anymore so there is one thing from worrying about
I managed to download it and learned to run it from a folder (yaay) is there any possibility of installing it so I don’t have to run it each from terminal and so I can run scripts from shell?
add the path to it’s bin directory as an environment variable for fish (the default shell we use).
In ~/.config/fish/config.fish add the line
set -x /path/to/bin/dir
where you change /path/to/bin/dir with the actual path where your processor executable is stored close and reopen the terminal and then you can use the processor command from any directory.
I downloaded it from processing site initially and not from pacman,
now I installed it from pacman and it works but it starts only processing 4.
I can still start processing 2 and 3 from folders I extracted initially but I have no idea how to start processing 2 and 3 from gui.
when I initially posted I haven’t installed os yet so here is
If the app has a .desktop file you can click on it and launch your GUI session. You can also symlink the file to any other location and use it to launch processor from there.
ok I managed to find out I can use install.sh for installing processing 3 (Releases / Processing.org) but as you can guess there is no such thing for processing 2.
so I run it by
terminal in
~/Documents/processing-2.2.1
I can just start it by typing.
. /processing
whenever chaotic-aur processing package installed I can’t find it to see if there is .desktop or anything as such
in shell when I attempt to open scripts I can see Processing (processing 4), Processing IDE (Processing 3) but no sight of processing 2.
if I add it with will it get installed like processing 4 and processing 3 and be accessible from shell?
set -x /path/to/bin/dir
I am also thinking if
sudo pacman -Syu processing
doesn’t require me to specify which version I want to install somehow but it might require to specify version and somehow lock it from updating to newest one.
to be clear I would be perfectly fine with getting rid of processing 4 and replacing it with processing 2.2.1
(I use word processing waaaay too much in this posts )
yeah I tried creating some kind of desktop shortcut to processing 2 unsuccessfully.
if someone could try and explain at least that to me it would be great because I can start the program from terminal but with how I need to jump between the 2 and 3 it’s quite inconvinient