# Error Installing Add-on on Arch Linux

**URL:** <https://community.localwp.com/t/error-installing-add-on-on-arch-linux/42488>\
**Category:** Support\
**Tags:** installation, linux-arch\
**Created:** [April 21, 2024, 9:05am UTC](https://community.localwp.com/t/error-installing-add-on-on-arch-linux/42488 "2024-04-21T09:05:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Banija](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@Banija](https://community.localwp.com/u/Banija)\
**Post date:** [April 21, 2024, 9:05am UTC](https://community.localwp.com/t/error-installing-add-on-on-arch-linux/42488/1 "2024-04-21T09:05:04Z")

</div>

### What issue or error are you experiencing?

Cannot install extension

* * *

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/3/6/360152b5a307adcc3b7150b74ceb28a4cf214f3e.png)

* * *

### System Details

- **Local Version:**  
Version 9.0.1+6673

- **Operating System (OS) and OS version:**  
OS: Arch Linux x86\_64

* * *

### Local Logs

Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/))  
[local-logs.zip](https://community.localwp.com/uploads/short-url/xkOD6yLD792CleMIlZnjccUrneL.zip) (33.6 KB)

* * *

---

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [April 22, 2024, 9:25am UTC](https://community.localwp.com/t/error-installing-add-on-on-arch-linux/42488/2 "2024-04-22T09:25:24Z")

</div>

Hi, @Banija. It looks like Arch uses an in-memory temporary filesystem, which is preventing Local from unzipping in Arch’s temporary directory then copying the add-on to the addons directory.

If you’re not able to change Arch’s temp directory to a path under `/home/` (which should prevent the error), you could try installing the add-on manually:

1. Quit Local
2. Download [Image Optimizer 2.1.3](https://cdn.localwp.com/addons/getflywheel-local-addon-image-optimizer-2.1.3.tgz).
3. Decompress it and rename the folder to `@getflywheel-local-addon-image-optimizer`.
4. Copy that folder to `/home/[your-username]/.config/Local/addons/`
5. Start Local and activate the add-on from the Add-ons → Installed page, relaunching when prompted.

---

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [May 16, 2024, 11:07am UTC](https://community.localwp.com/t/error-installing-add-on-on-arch-linux/42488/3 "2024-05-16T11:07:54Z")

</div>

Arch users who encounter this could also try the workaround here:

> [@How to set temp directory on Ubuntu 24.04](https://community.localwp.com/t/how-to-set-temp-directory-on-ubuntu-24-04/42859/2):
>
> Local doesn’t have an option built into it to specify a temp directory, it just uses the same mktmp mechanism as the rest of the Linux ecosystem. I haven’t tried this, but you might be able to run Local in a shell where you configure the $TMPDIR variable. I think the command would look something like: mkdir -p ~/.config/Local/local-tmp-folder # create the folder on your user's partition export TMPDIR="${HOME}/.config/Local/local-tmp-folder"; /opt/Local/local # or wherever Local is installed t…

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [August 14, 2024, 11:08am UTC](https://community.localwp.com/t/error-installing-add-on-on-arch-linux/42488/4 "2024-08-14T11:08:14Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
