*****************************
Installation & Uninstallation
*****************************

Windows
=======

**LOOT requires a 64-bit version of Windows 10 (1809) or later.**

LOOT can be installed either using its automated installer or manually from a release archive. If you are using the installer, just run it and follow the wizard steps. If installing manually, extract the downloaded archive to a location of your choice.

LOOT requires the `MSVC 2022 x64 redistributable`_ to be installed.

The installer automatically downloads and installs the redistributable if you don't already have them installed, but if you use the release archive then you will need to do so manually.

If LOOT was installed using the installer, then use the uninstaller linked to in the Start Menu to uninstall LOOT. If LOOT was installed manually:

1. Delete the files you extracted from the location you chose.
2. Delete the ``LOOT`` folder in your local application data folder, which can be accessed by entering ``%LOCALAPPDATA%`` into Windows' File Explorer.

.. _MSVC 2022 x64 redistributable: https://aka.ms/vs/17/release/vc_redist.x64.exe

Linux
=====

**LOOT requires a 64-bit version of Linux.**

LOOT can be installed as a `Flatpak`_ application.

You may be able to install and uninstall LOOT through your Linux distribution's package manager. If not, first `install Flatpak`_ if it is not already installed, and then install LOOT from `Flathub`_.

LOOT can be uninstalled using the command line::

    flatpak uninstall io.github.loot.loot

Or, if you want to also remove the data that LOOT stores in ``~/.var/app/io.github.loot.loot``::

    flatpak uninstall --delete-data io.github.loot.loot

.. _Flatpak: https://flatpak.org/
.. _install Flatpak: https://flatpak.org/setup/
.. _Flathub: https://flathub.org/en-GB/apps/io.github.loot.loot
