# Can't install Anki on Arch/EndeavourOS

**URL:** <https://forums.ankiweb.net/t/cant-install-anki-on-arch-endeavouros/56956>\
**Category:** Help\
**Created:** [March 9, 2025, 10:59pm UTC](https://forums.ankiweb.net/t/cant-install-anki-on-arch-endeavouros/56956 "2025-03-09T22:59:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alowne](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@Alowne](https://forums.ankiweb.net/u/Alowne)\
**Post date:** [March 9, 2025, 10:59pm UTC](https://forums.ankiweb.net/t/cant-install-anki-on-arch-endeavouros/56956/1 "2025-03-09T22:59:33Z")

</div>

This message error appears during the installation ☹  
Just tried to git clone with the aur package and after the **makepkg -si** this error appears **./ninja: line 18: /home/lust/Documents/Apps: No such file or directory**  
**==\> ERROR: A failure occurred in build().**

```auto
[lust@PC anki]$ makepkg -si
==> Making package: anki 25.02-1 (dom 09 mar 2025 19:52:26)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found anki-25.02.tar.gz
  -> Found anki-core-i18n-0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e.tar.gz
  -> Found anki-desktop-ftl-17216b03db7249600542e388bd4ea124478400e5.tar.gz
  -> Found no-update.patch
  -> Found strip-formatter-deps.patch
  -> Found strip-type-checking-deps.patch
  -> Found strip-python-pip-system-certs.patch
==> Validating source files with sha256sums...
    anki-25.02.tar.gz ... Passed
    anki-core-i18n-0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e.tar.gz ... Passed
    anki-desktop-ftl-17216b03db7249600542e388bd4ea124478400e5.tar.gz ... Passed
    no-update.patch ... Passed
    strip-formatter-deps.patch ... Passed
    strip-type-checking-deps.patch ... Passed
    strip-python-pip-system-certs.patch ... Passed
==> Extracting sources...
  -> Extracting anki-25.02.tar.gz with bsdtar
  -> Extracting anki-core-i18n-0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e.tar.gz with bsdtar
  -> Extracting anki-desktop-ftl-17216b03db7249600542e388bd4ea124478400e5.tar.gz with bsdtar
==> Starting prepare()...
patching file qt/aqt/update.py
patching file pylib/tools/hookslib.py
Hunk #1 succeeded at 209 (offset 1 line).
patching file build/configure/src/python.rs
Hunk #1 succeeded at 101 (offset 14 lines).
Hunk #2 succeeded at 119 with fuzz 1 (offset 14 lines).
patching file qt/aqt/ __init__.py
Hunk #1 succeeded at 9 with fuzz 2 (offset 3 lines).
yarn install v1.22.22
info No lockfile found.
[1/4] Resolving packages...
warning fabric > jsdom > abab@2.0.6: Use your platform's native atob() and btoa() methods instead
warning fabric > jsdom > data-urls > abab@2.0.6: Use your platform's native atob() and btoa() methods instead
warning fabric > jsdom > w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
warning fabric > jsdom > domexception@4.0.0: Use your platform's native DOMException instead
warning Resolution field "cookie@0.7.0" is incompatible with requested version "cookie@^0.6.0"
warning eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
warning eslint > @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
warning eslint > @humanwhocodes/config-array > @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
warning eslint > file-entry-cache > flat-cache > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning eslint > file-entry-cache > flat-cache > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning eslint > file-entry-cache > flat-cache > rimraf > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning license-checker-rseidelsohn > read-installed-packages > read-package-json@6.0.4: This package is no longer supported. Please use @npmcli/package-json instead.
warning svelte-check > svelte-preprocess > sorcery > sander > rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
warning svelte-check > svelte-preprocess > sorcery > sander > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning Workspaces can only be enabled in private projects.
[4/4] Building fresh packages...
warning Ignored scripts due to flag.
success Saved lockfile.
Done in 57.16s.
==> Removing existing $pkgdir/ directory...
==> Starting build()...
    Finished `release` profile [optimized] target(s) in 0.13s
./ninja: line 18: /home/lust/Documents/Apps: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...

```

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [March 10, 2025, 4:42am UTC](https://forums.ankiweb.net/t/cant-install-anki-on-arch-endeavouros/56956/2 "2025-03-10T04:42:16Z")

</div>

Did you already go through the suggestions in the Linux install instructions?

> **[Linux - Anki Manual](https://docs.ankiweb.net/platform/linux/intro.html)**
>
> Anki's user manual. Anki is a flashcard program that makes learning easier.

---

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [March 10, 2025, 8:35am UTC](https://forums.ankiweb.net/t/cant-install-anki-on-arch-endeavouros/56956/3 "2025-03-10T08:35:53Z")

</div>

> [@Alowne](#):
>
> `makepkg`

I don’t know why you use `makepkg` (anki has install and uninstall scripts and puts its files in a separate path, so that the files don’t interfere with system libs).

But the error is stated in your log:

> ./ninja: line 18: /home/lust/Documents/Apps: No such file or directory

Maybe running `mkdir /home/lust/Documents/Apps` will solve it (in case “Apps” is a directory).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [April 9, 2025, 8:36am UTC](https://forums.ankiweb.net/t/cant-install-anki-on-arch-endeavouros/56956/4 "2025-04-09T08:36:20Z")

</div>

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