Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ryzendew/AffinityOnLinux

Β 
Β 

Repository files navigation

AffinityOnLinux

A comprehensive solution for running Affinity software on GNU/Linux systems using Wine with full OpenCL hardware acceleration support.

Features

  • Full OpenCL Support - Hardware acceleration enabled out of the box
  • Automated Installation - Streamlined setup process with dependency management
  • Cross-Distribution Support - Works on modern Linux distributions (PikaOS 4, CachyOS, Nobara, Arch, EndeavourOS, XeroLinux, Fedora, openSUSE)
  • Desktop Integration - Automatic desktop entry and shortcut creation
  • Wine Configuration - Pre-configured Wine environment optimized for Affinity applications

OpenCL Hardware Acceleration

OpenCL support is fully functional, enabling GPU acceleration for improved performance in Affinity applications.

OpenCL Hardware Acceleration

Supported Applications

Affinity Publisher Affinity Designer Affinity Photo

Affinity V3

Installation

All-in-One Installer (Recommended)

The unified installer provides a single interface to install any Affinity application with automatic dependency management and an interactive menu.

Features:

  • Automatic Linux distribution detection
  • Dependency installation and verification
  • Interactive application selection menu
  • Drag-and-drop installer file support
  • Automatic desktop entry creation

Installation:

bash -c "$(curl -s https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/refs/heads/main/AffinityScripts/AffinityLinuxInstaller.sh)"

Python GUI Installer

A modern PyQt6-based graphical user interface for the Affinity Linux Installer, providing a clean and professional installation experience with a VS Code-inspired dark theme.

Features:

  • One-Click Full Setup - Automatically detects your distribution, installs dependencies, sets up Wine, and configures everything
  • System Setup Tools - Install system dependencies, Winetricks components, and set up Wine environment separately
  • Update Affinity Applications - Update existing installations without creating new desktop entries or reinstalling dependencies
  • Troubleshooting Tools - Open Wine Configuration and set Windows 11 with OpenGL/Vulkan renderer selection
  • Custom Installation - Install any Windows application using the custom Wine environment
  • Visual Progress Tracking - Real-time progress bars and detailed logging
  • Modern UI - Clean, organized interface with grouped button sections and rounded corners
  • Zoom Controls - Adjustable log output font size with zoom buttons (πŸ”βž–, πŸ”, πŸ”βž•) or keyboard shortcuts (Ctrl++/Ctrl+-/Ctrl+0)

Installation:

Run directly from GitHub (recommended):

python3 -c "$(curl -sSL https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/refs/heads/main/AffinityScripts/AffinityLinuxInstaller.py)"

Or clone the repository and run locally:

python AffinityScripts/AffinityLinuxInstaller.py
image

Usage:

  1. Run the installer - it will automatically attempt to install PyQt6 if needed
  2. Click "One-Click Full Setup" for automatic configuration, or use individual setup buttons
  3. Once Wine is set up, use "Update Affinity Applications" to install or update Affinity apps
  4. Use "Troubleshooting" tools to configure Wine settings and renderers

πŸ“– Need Help? Check out the GUI Installer Guide for detailed step-by-step instructions, button explanations, and troubleshooting tips.

Zoom Controls:

  • Zoom In: Click the πŸ”βž• button or press Ctrl++ / Ctrl+=
  • Zoom Out: Click the πŸ”βž– button or press Ctrl+- / Ctrl+Minus
  • Reset Zoom: Click the πŸ” button or press Ctrl+0
  • Mouse Wheel Zoom: Hold Ctrl and scroll with the mouse wheel over the log area
  • Font size range: 6px (minimum) to 48px (maximum), default: 11px

GUI Dependencies:

Arch/CachyOS/EndeavourOS/XeroLinux:

sudo pacman -S python-pyqt6

Fedora/Nobara:

sudo dnf install python3-pyqt6

openSUSE (Tumbleweed/Leap):

sudo zypper install python313-PyQt6

PikaOS:

sudo apt install python3-pyqt6

Note: PyQt6 is required to run the GUI installer.

Individual Application Installers

For users who prefer to install applications individually, dedicated installers are available:

Affinity Photo Affinity Photo

Professional photo editing and image manipulation software with advanced tools for photographers and digital artists. Features include RAW editing, HDR merge, focus stacking, and comprehensive retouching capabilities.

bash -c "$(curl -s https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/refs/heads/main/AffinityScripts/AffinityPhoto.sh)"

Affinity Designer Affinity Designer

Vector graphic design software for creating illustrations, logos, UI designs, print projects, and mock-ups. Combines vector and raster workflows in a single application with precision drawing tools and professional typography support.

bash -c "$(curl -s https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/refs/heads/main/AffinityScripts/AffinityDesigner.sh)"

Affinity Publisher Affinity Publisher

Desktop publishing application for creating professional layouts, magazines, books, and print materials. Features advanced text handling, master pages, tables, and seamless integration with other Affinity applications.

bash -c "$(curl -s https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/refs/heads/main/AffinityScripts/AffinityPublisher.sh)"

Affinity V3 Affinity V3 Suite (Unified Application)

The new unified Affinity application that combines Photo, Designer, and Publisher into a single modern interface. Access all creative tools from one application with seamless workflow integration and a streamlined user experience.

bash -c "$(curl -s https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/refs/heads/main/AffinityScripts/Affinityv3.sh)"

Updating Existing Installations

The Affinity Updater provides a lightweight way to update your existing Affinity installations without going through the full installation process.

Features:

  • Updates only the application binary
  • Preserves existing desktop entries and configurations
  • No dependency checks or Wine reconfiguration
  • Simple drag-and-drop interface

Usage:

bash -c "$(curl -s https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/refs/heads/main/AffinityScripts/AffinityUpdater.sh)"

System Requirements

Supported Distributions

Officially Supported:

  • PikaOS 4
  • CachyOS
  • Nobara
  • Arch Linux
  • EndeavourOS
  • XeroLinux
  • Fedora
  • openSUSE (Tumbleweed/Leap)

Note: Ubuntu, Linux Mint, Pop!_OS, and Zorin OS are not officially supported due to outdated package management systems. Users on these distributions must manually install dependencies.

Required Dependencies

  • Wine (ElementalWarriorWine provided automatically)
  • winetricks
  • wget
  • curl
  • p7zip or 7z
  • tar
  • jq
  • zstd

PikaOS Special Instructions

PikaOS users must replace the built-in Wine with WineHQ staging before installation. The installer scripts will display the required commands automatically.

Additional Resources

Contributing

All pull requests are welcome to improve the scripts, documentation, and overall functionality of this project. Contributions help make AffinityOnLinux better for everyone.

Community

For support, questions, and community discussions, join our Discord server:

Join Discord Community

License

This project provides installation scripts and configurations for running Affinity software on Linux. Affinity software is a commercial product by Serif (Europe) Ltd. Please ensure you have a valid license before installing.


Disclaimer: This project is not affiliated with, endorsed by, or associated with Serif (Europe) Ltd. All trademarks and registered trademarks are the property of their respective owners.

About

A repository that helps users get affinity software working on GNU/Linux 🐧

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 54.8%
  • Python 45.2%