[Solved] How to install on Arch Linux x86_64

Pretty much the title. The AUR is not working for me with one of the files failing a validity test.

[mb668@NUC6-arch ~]$ yay -S processing
:: There are 2 providers available for processing:
:: Repository AUR
    1) processing 2) processing-jdk8

Enter a number (default=1):
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  processing-3.5.4-4

  1 processing                       (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: PKGBUILD up to date, Skipping (1/1): processing
  1 processing                       (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: (1/1) Parsing SRCINFO: processing
==> Making package: processing 3.5.4-4 (Sat 13 Feb 2021 09:13:39 GMT)
==> Retrieving sources...
  -> Found processing-0270-3.5.4.tar.gz
  -> Found reference.zip
  -> Found build.xml
  -> Found errormessage.patch
==> Validating source files with sha256sums...
    processing-0270-3.5.4.tar.gz ... Passed
    reference.zip ... FAILED
    build.xml ... Passed
    errormessage.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
error downloading sources: processing

As an alternative, I have downloaded the Linux64 .tgz file from processing.org but do not know exactly how to install it because it is not an arch package file.

[mb668@NUC6-arch ~D]$ sudo pacman -U processing-3.5.4-linux64.tgz
loading packages...
error: missing package metadata in processing-3.5.4-linux64.tgz
error: 'processing-3.5.4-linux64.tgz': invalid or corrupted package

Does anyone have some step-by-step instructions about how to install processing on arch?

Thanks

PS No, I don’t want to switch to distros.

The simplest thing is to just download processing from processing then unzip it in your home folder eg /home/tux ignore the pacman version.

tar xzvf pro....tgz

You should read documentation:-

User centrality

Whereas many GNU/Linux distributions attempt to be more user-friendly , Arch Linux has always been, and shall always remain user-centric . The distribution is intended to fill the needs of those contributing to it, rather than trying to appeal to as many users as possible. It is targeted at the proficient GNU/Linux user, or anyone with a do-it-yourself attitude who is willing to read the documentation, and solve their own problems.

2 Likes

Hi,

Whenever you don’t know how something works in Processing, check the website because it contains all the documentation you need! :wink:

Therefore the download page tells us how to download and install Processing : Download \ Processing.org

You can also see the supported platforms (specifically Linux) on the GitHub repo :

I don’t think that Processing is available on any package manager like apt, yum or pacman…

By the way would it make sense to package Processing as a debian package or something similar??

1 Like

Some distros have unofficial repos where anyone can package anything and submit it like PPAs for Ubuntu or the AUR for Arch.

It looks like that package is pulling a zip (reference.zip) with an offline copy of the reference at (Language Reference (API) \ Processing 3+). I didn’t know that existed, but anyway they probably shouldn’t have that as part of the stuff that gets validated for the package as I imagine it can change more often and independently of the actual PDE.

https://aur.archlinux.org/packages/processing/

1 Like

Thanks everyone. It was much easier than I thought.

I have not typically installed software on Arch using anything other than pacman or yay, so this was new to me. I take everyone’s point about RTFM first. I did that, did not find a suitable answer and so posted to the forum.

Great responses. Thanks for your help!

2 Likes