# Processing keeps failing to install sound library on Arch Linux based distro

**URL:** <https://discourse.processing.org/t/processing-keeps-failing-to-install-sound-library-on-arch-linux-based-distro/22857>\
**Category:** Processing\
**Created:** [July 27, 2020, 3:20am UTC](https://discourse.processing.org/t/processing-keeps-failing-to-install-sound-library-on-arch-linux-based-distro/22857 "2020-07-27T03:20:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon76195010](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@anon76195010](https://discourse.processing.org/u/anon76195010)\
**Post date:** [July 27, 2020, 3:20am UTC](https://discourse.processing.org/t/processing-keeps-failing-to-install-sound-library-on-arch-linux-based-distro/22857/1 "2020-07-27T03:20:43Z")

</div>

I am trying to install the `Sound` library but I keep on getting this error.

`Could not download https://github.com/processing/processing-sound/releases/download/latest/sound.zip to /tmp/download5615604968353773816sound.zip : Error during download and install of Sound.`

On Windows on the same PC it was all fine. It installed correctly.

I downloaded Processing through the AUR and I used all the default options. Any idea why this is happening?

I am able to install other libraries just fine on ArchLinux.

---

<div class="post-metadata">

**Author:** ![tabreturn](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tabreturn/32/3697_2.png) [@tabreturn](https://discourse.processing.org/u/tabreturn)\
**Post date:** [July 27, 2020, 4:18am UTC](https://discourse.processing.org/t/processing-keeps-failing-to-install-sound-library-on-arch-linux-based-distro/22857/2 "2020-07-27T04:18:55Z")

</div>

What if you try installing it manually? In other words, use your web browser to download: [https://github.com/processing/processing-sound/releases/download/latest/sound.zip](https://github.com/processing/processing-sound/releases/download/latest/sound.zip)

Then extract that and place the _sound_ folder in your sketchbook location (see Processing’s `File > Preferences`), in the _libraries_ folder.

---

<div class="post-metadata">

**Author:** ![anon76195010](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@anon76195010](https://discourse.processing.org/u/anon76195010)\
**Post date:** [July 27, 2020, 4:41am UTC](https://discourse.processing.org/t/processing-keeps-failing-to-install-sound-library-on-arch-linux-based-distro/22857/3 "2020-07-27T04:41:40Z")

</div>

That seems to solve it, thanks mate, but yeah its very strange why on Arch it refuses to download only the sound library but now anything else?

---

<div class="post-metadata">

**Author:** ![monkstone](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/monkstone/32/64_2.png) [@monkstone](https://discourse.processing.org/u/monkstone)\
**Post date:** [July 27, 2020, 7:58am UTC](https://discourse.processing.org/t/processing-keeps-failing-to-install-sound-library-on-arch-linux-based-distro/22857/4 "2020-07-27T07:58:19Z")

</div>

Might suggest something going on in your /tmp folder (or have you mounted /tmp on tmpfs ie memory? and simply run out of memory). It is possible to make java (hence processing use a different directory for tmp) in your `~/.bashrc`:-

```bash
export _JAVA_OPTIONS="-Djava.io.tmpdir=/home/tux/tmp"

```

It is up to you how you create and manage your local tmp folder, but the simplest is just to `mkdir ~/tmp` and manage it manually deleting stuff as you go (but you could manage it as a `cron` job, and or create it with `mktemp`). Don’t forget to source your `~/.bashrc` if you want it to take immediate effect. One benefit of this approach, is that it is easy to find the files (eg MySketch.java, MySketch.class, jogamp\_0000 etc) created by processing.
