Putting the Affinity graphics suite on Linux
Art Time
© Photo by Birmingham Museums Trust on Unsplash
Affinity is an award-winning photo editing, graphic design, and page layout tool suite that will run on Linux – with a little help from Wine.
The Adobe Suite is the most popular tool for digital artists of all kinds, including photographers, creators, and illustrators. It works well, but it becomes more bloated with each release. Also, the Adobe Suite requires an expensive subscription, and most importantly, Adobe has ignored Linux for decades. The suite does not offer Linux support, and performance under Wine is subpar. Gimp (GNU Image Manipulation Program [1] ) is developed slowly, and CMYK color model support [2] was introduced only in Version 3. Krita [3] is very promising but is optimized primarily for digital painting. Are Gimp and Krita good enough to serve as professional tools on Linux for book or digital media illustration, wedding album creation, or private club invitations? It depends on the tasks and workflow, but I'd expect a lot of pitfalls and painful surprises. Luckily, a user-friendly alternative for Linux is now available.
The Affinity Suite [4] is a toolkit for photo editing, graphic design, and page layout that normally runs on macOS, Windows, and iPad systems. Affinity and the open source community have undertaken a long-term effort to get Affinity applications working in Linux using Wine [5]. Currently, this solution requires a patched Wine-staging (experimental Wine fork), but hopefully it will eventually be able to work with stable Wine, which will make installation easier and allow average users to get it up and running in a few clicks. Sadly, at this time, the installation takes a little more effort.
System Requirements
To fully realize the potential of Affinity on Linux, you'll need the following hardware:
- A 64-bit PC or laptop with a mouse or equivalent input device
- A Vulkan-compatible graphics card with hardware acceleration
- 8GB of RAM
- 1GB of available hard drive space, with more required during installation
These requirements are very affordable. The average installation file size is nearly 1.5GB, whereas Adobe Photoshop version 26 requires 10GB of available hard-disk space. Wine on Linux uses Vulkan rendering, so good Vulkan performance is necessary for large projects. Affinity also works with integrated graphics that support Vulkan – all screenshots were taken on Intel HD Graphics.
Console Installer
The easiest way to install Affinity on Linux is with the console installer. If you encounter any problems, you will also find an alternative version with a graphical installer. The installation scripts are available on GitHub [6]. Install the required dependencies, Wine, winetricks, 7z, Wget, curl, and tar, using your current package manager. The script will print a warning if a dependency isn't enabled. Then, use the search query in your package manager to find the package name. Listing 1 shows how to install the entire Affinity Suite for Linux.
Listing 1
Installing Affinity Suite
# Affinity Photo bash -c "\ $(curl -s https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/\ refs/heads/main/AffinityScripts/AffinityPhoto.sh)" # Affinity Designer bash -c "\ $(curl -s https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/\ refs/heads/main/AffinityScripts/AffinityDesigner.sh)" # Affinity Publisher bash -c "\ $(curl -s https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/\ refs/heads/main/AffinityScripts/AffinityPublisher.sh)" # Whole Affinity suite bash -c "\ $(curl -s https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/\ refs/heads/main/AffinityScripts/AffinityLinuxInstaller.sh)" # Affinity Updater: bash -c "\ $(curl -s https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/\ refs/heads/main/AffinityScripts/AffinityUpdater.sh)"
This installation method provided on GitHub is dangerous because the script can be intercepted and modified by a malicious user. It is better to clone the repository, manually check the scripts, especially the download links, and then run the scripts manually. After you successfully launch the script, the application icon will appear, and the next step is the standard move: Click to launch! The first launch can take 10-15 seconds, much shorter than the time it takes to prepare a Wine prefix. The installation directory is ~/.AffinityLinux. Make sure the directory is writable and has 5GB of free space, just in case. OpenCL (an open standard for parallel programming across a wide range of devices) [7] is recommended for fully utilizing GPU hardware acceleration. Search for opencl using your package manager, and make sure to select the correct version for your GPU vendor. Verifying GPU hardware acceleration is easy: open an Affinity application and check the Preferences menu, then find Hardware Acceleration.
Graphical Installer
Graphical installation is a great option for people who prefer a GUI. Boxes [8], a graphical configuration tool for Wine and Proton, supports Flatpak, and it is easy to configure security permissions using Flatseal [9]. Proceed as follows:
Install Bottles from Flatpak:
$ flatpak install flathub <C><C>com.usebottles.bottles
- Download the runner
wine-tkg-affinity-fedorabuilt.tar.zstfrom GitHub [10] and rename the extracted folderwine-tkg-affinity. - Move the renamed folder to
~/.var/app/com.usebottles.bottles/data/bottles/runners/wine-tkg-affinity/. Run the Bottles application:
$ flatpak run com.usebottles.bottles
Create the new bottle with name
Affinityusingwine-tkg-affinityrunner – the configuration should be similar to Figure 1.- Install the required dependencies into the bottle:
allfonts dotnet40 dotnet35sp1 vcrun2022using the Dependencies menu. The installation will takes 10 minutes or longer, depending on your hardware. - Click on the button labeled Run executable and select the Affinity application installed with the name
Installer_affinity-photo-msi-2.6.3.exe(or similar), which you can download from the Affinity website. After installation, chooseNofor the question Create a desktop shortcut for this application. If you encounter installation errors, re-run the installation and select Repair. - Choose Dedicated graphic map in the Display menu and choose Yes if you have a dedicated graphics card.
- Select Advanced display settings and choose Renderer – Vulkan. Set Virtual Desktop Activation to Yes, and enter Width and Height settings for the display size in pixels.
- Under Compatibility, select Windows 10 as the Windows version.
- Also in Settings, choose the latest versions of the DXVK and VKD3D translation layers, which let you run 3D applications in Wine. Some people also recommend using the VKD3D-proton fork from Valve. However, on my hardware, VKD3D works well without any issues.
Extract the WinMetadata archive [11] to ~/.var/app/com.usebottles.bottles/data/bottles/bottles/Affinity/drive_c/windows/system32/. Wine needs this metadata to successfully run Affinity applications on Linux.
The final step is to click on the Bottle hamburger menu and choose Add a desktop entry.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Linux Kernel Project Releases Project Continuity Document
What happens to Linux when there's no Linus? It's a question many of us have asked over the years, and it seems it's also on the minds of the Linux kernel project.
-
Mecha Systems Introduces Linux Handheld
Mecha Systems has revealed its Mecha Comet, a new handheld computer powered by – you guessed it – Linux.
-
MX Linux 25.1 Features Dual Init System ISO
The latest release of MX Linux caters to lovers of two different init systems and even offers instructions on how to transition.
-
Photoshop on Linux?
A developer has patched Wine so that it'll run specific versions of Photoshop that depend on Adobe Creative Cloud.
-
Linux Mint 22.3 Now Available with New Tools
Linux Mint 22.3 has been released with a pair of new tools for system admins and some pretty cool new features.
-
New Linux Malware Targets Cloud-Based Linux Installations
VoidLink, a new Linux malware, should be of real concern because of its stealth and customization.
-
Say Goodbye to Middle-Mouse Paste
Both Gnome and Firefox have proposed getting rid of a long-time favorite Linux feature.
-
Manjaro 26.0 Primary Desktop Environments Default to Wayland
If you want to stick with X.Org, you'll be limited to the desktop environments you can choose.
-
Mozilla Plans to AI-ify Firefox
With a new CEO in control, Mozilla is doubling down on a strategy of trust, all the while leaning into AI.
-
Gnome Says No to AI-Generated Extensions
If you're a developer wanting to create a new Gnome extension, you'd best set aside that AI code generator, because the extension team will have none of that.

