An AppImage bundles a desktop application into a single executable file. The AnythingLLM Desktop installer puts that file in your Linux home directory and adds an application launcher so you can open the app from the desktop.

A fresh Ubuntu 26.04 LTS Desktop installation is the starting point. You need an internet connection, a signed-in desktop account and sudo access to install APT packages and edit and load an AppArmor profile. The Mintplex Labs installer selects the AppImage for your architecture.

Ubuntu restricts unprivileged user namespaces, which Chromium uses for its sandbox. An AppArmor profile for the exact AppImage path lets AnythingLLM Desktop start while keeping that restriction in place for other applications.

Steps to install AnythingLLM Desktop on Linux:

  1. Refresh the Ubuntu package index.
    sudo apt update
  2. Install the Ubuntu packages for the AppImage setup.
    sudo apt install curl libfuse2t64 zlib1g-dev

    The installer uses curl for downloads, and libfuse2t64 provides FUSE 2 for the AppImage. The package set shown is for Ubuntu 26.04 Desktop on ARM64.

  3. Press Enter at APT's Continue? [Y/n] prompt if the listed package changes match what you expect.
  4. Download the Mintplex Labs installer to an unused $HOME/installer.sh path.

    The download can overwrite an existing file at that path. AnythingLLM's Linux installation documentation links to this installer.

    curl -fsSL \
      https://cdn.anythingllm.com/latest/installer.sh \
      -o "$HOME/installer.sh"
  5. Make $HOME/installer.sh executable.
    chmod +x "$HOME/installer.sh"

    The installer runs with access to your account’s files. A script from another source could read or change those files.

  6. Start the installation as your regular desktop user.
    "$HOME/installer.sh"

    The installer checks the downloaded AppImage against its published SHA-256 checksum. If it reports a mismatch or cannot verify the download, answer n at the prompt to cancel.

  7. Answer n at the automatic AppArmor profile prompt.

    The automatic profile matches the AppImage filename in any directory. A manually created profile can limit the permission to the copy in your home directory.

  8. Answer n at the prompt to start AnythingLLM Desktop.

    The app can fail with a SUID sandbox error if it runs before the AppArmor profile is loaded.

  9. Open /etc/apparmor.d/anythingllmdesktop in your text editor.
    sudoedit /etc/apparmor.d/anythingllmdesktop
  10. Insert the following AppArmor profile into the empty file.
    anythingllmdesktop
    abi <abi/4.0>,
    include <tunables/global>
     
    profile anythingllmdesktop
    "/home/alex/AnythingLLMDesktop.AppImage"
    flags=(unconfined) {
      userns,
    }

  11. Replace /home/alex in the quoted path with the full absolute path to your home directory.

    This profile permits user namespaces for the executable at the quoted path. The path must point to your installed AnythingLLMDesktop.AppImage and Ubuntu’s system-wide restriction stays enabled.

  12. Save the AppArmor file in the editor.
  13. Exit the editor to finish sudoedit.

    When the editor closes, sudoedit copies the saved contents to /etc/apparmor.d/anythingllmdesktop.

  14. Load the saved AppArmor profile.
    sudo apparmor_parser -r /etc/apparmor.d/anythingllmdesktop

    If the parser reports an error, check the file and its syntax before starting the app.

  15. Open the Ubuntu Activities overview with the Super key.
  16. Search for anythingllm in the overview.
  17. Select the AnythingLLM Desktop app tile above the browser and file results.

    On the first launch, the app tile can have a blank icon and a shortened label. The Files result named AnythingLLMDesktop.AppImage is the executable file.

  18. Confirm that AnythingLLM opens to Welcome with a Get Started button.
  19. Request removal of the downloaded installer script.
    rm -i "$HOME/installer.sh"

    The -i option prompts before deleting only installer.sh from your home directory.

  20. Enter y at the prompt to confirm removal of installer.sh.

    The AppImage, launcher and application data stay in place.

Share this guide