-
-
Notifications
You must be signed in to change notification settings - Fork 48
Install Guide ScriptInstaller
This guide sets up Affinity using the AffinityOnLinux script installer, an automated tool that installs Wine dependencies and Affinity for you, instead of running each command by hand.
The installer is two files working together:
-
AoL_ScriptInstaller-GameDirection.sh: a bash launcher that detects your distro, installs Python 3 and its dependencies if missing, then starts the main installer. -
affinity_installer_unified.py: a PyQt6 GUI installer with its Wine/Affinity setup logic embedded as a bash backend in the same file.
Download Affinity.msix or Affinity.exe from the Affinity download page.
- From the "Download for Windows" drop-down menu, select "Windows (Intel/AMD)" to download
Affinity.msix. - Select "Enterprise (Intel/AMD)" to download
Affinity.exe.
Download both files from this repository's script installer directory:
Keep both files in the same directory. The shell script launches the Python installer from alongside itself. It will not work if you separate the files.
In the directory containing both files, run:
chmod +x ./*.shThis makes AoL_ScriptInstaller-GameDirection.sh executable.
Run AoL_ScriptInstaller-GameDirection.sh and follow its prompts.
Note
The dotnet48 installation step can take a while and may appear to hang. This is expected. Wait for it to finish.
AoL_ScriptInstaller-GameDirection.sh detects your Linux distribution (Ubuntu/Debian, Fedora, or Arch family), installs Python 3 and its pip/venv dependencies if they are missing, then hands off to affinity_installer_unified.py.
affinity_installer_unified.py is a self-contained PyQt6 GUI: it auto-installs PyQt6 if missing, then runs an embedded bash backend that sets up the Wine prefix, installs dependencies through winetricks, runs the Affinity installer, and creates .desktop shortcuts.
After installation completes, the installer creates a .desktop file in the same directory. Use it to launch Affinity from your desktop environment or file manager.
This installer script and its unified Python installer are maintained as part of this repository. See Credits for the project's contributor list.
-
dotnet48installation seems stuck. Check on it periodically. It can take a long time to complete. This is expected. - The installer fails or behaves unexpectedly. Check the AffinityOnLinux Discord for help, and share your install log so the community can identify the failure point.
-
The community asks for your system information while troubleshooting. Run
neofetchorfastfetchand share the output. These are the tools the community uses to help diagnose issues.
Some users hit a GLIBC version mismatch with this script installer on older distributions. See General-Known-Issues for the symptom and workaround.
Start Here
Install Guides
- Wine
- ↳ Uninstalling
- ↳ Wine in Docker 🟨
- Lutris
- ↳ OpenCL
- Heroic
- Bottles
- Rum
- ↳ Installer GUI
⚠️ - Script Installer
Fixes & Tweaks
- Settings Not Saving
- Panels & Dock Layout
- Login Solution and Scripts
- Tips and Tweaks
⚠️ General Known Issues
Related Projects
Reference
Community & Status