openSUSE

How To Install Krita on openSUSE

Install Krita on openSUSE

Digital artists and creative professionals seeking powerful, open-source painting software will find Krita to be an exceptional choice for their artistic endeavors. This comprehensive guide provides detailed instructions for installing Krita on openSUSE systems, covering multiple installation methods to suit different user preferences and technical requirements.

Whether you’re a seasoned Linux administrator or a newcomer transitioning from other operating systems, this tutorial ensures successful Krita installation on your openSUSE machine. The guide covers five distinct installation approaches, from traditional package management to modern containerized solutions.

Understanding Krita and openSUSE Compatibility

What is Krita

Krita stands as one of the most sophisticated digital painting applications available in the open-source ecosystem. Developed by the KDE community, this professional-grade software offers advanced brush engines, layer management, animation capabilities, and extensive plugin support. Artists worldwide rely on Krita for concept art, illustrations, comics, and digital paintings.

The application’s native integration with Qt frameworks makes it particularly well-suited for KDE-based distributions. Its robust feature set rivals proprietary alternatives while maintaining complete freedom and transparency through its open-source licensing.

openSUSE Ecosystem Overview

openSUSE operates as a stable, enterprise-grade Linux distribution available in two primary variants: Tumbleweed and Leap. Tumbleweed functions as a rolling release distribution, providing cutting-edge software packages with frequent updates. Leap represents the stable release cycle, offering long-term support and predictable maintenance schedules.

Both variants excel in supporting creative applications like Krita through comprehensive package repositories and excellent KDE desktop environment integration. The distribution’s emphasis on stability and user-friendly administration tools makes software installation straightforward for users at all skill levels.

System Requirements and Compatibility

Before proceeding with installation, verify that your openSUSE system meets Krita’s minimum requirements. The application demands at least 2GB of RAM, though 4GB or more significantly improves performance when working with large canvases or multiple layers. Graphics capabilities benefit from dedicated GPU support, particularly for real-time preview rendering and advanced brush effects.

Current Krita versions maintain excellent compatibility with both openSUSE Tumbleweed and Leap releases. The software integrates seamlessly with KDE Plasma desktop environments while functioning adequately in alternative desktop sessions like GNOME or XFCE.

Pre-Installation Preparation

System Updates and Maintenance

Ensuring your openSUSE installation remains current prevents potential dependency conflicts during Krita installation. Execute system updates through YaST or command-line tools before attempting software installation.

Open a terminal and run the following commands:

sudo zypper refresh
sudo zypper update

This process updates package repositories and installs available system upgrades. Restart your system if kernel updates or critical system components receive updates during this process.

Repository Configuration

openSUSE’s software ecosystem relies on multiple repositories for comprehensive package availability. The default installation includes essential repositories, but accessing the latest Krita versions may require additional repository sources.

Consider enabling the KDE:Extra repository, which provides newer KDE applications and updates beyond the standard release cycle. This repository offers more current Krita versions while maintaining system stability through careful package testing.

Storage and Backup Considerations

Krita installation requires approximately 200-300MB of disk space for the core application, with additional space needed for plugins, brushes, and temporary files. Ensure adequate free space exists on your system partition before beginning installation.

Creating a system backup or snapshot provides insurance against potential installation issues. openSUSE’s Snapper tool offers convenient filesystem snapshot functionality, allowing easy rollback if problems arise during software installation.

Method 1: Installing Krita via YaST Software Management

Accessing YaST Software Management

YaST (Yet another Setup Tool) serves as openSUSE’s primary system administration interface, providing graphical tools for software management, system configuration, and maintenance tasks. The Software Management module offers intuitive package installation capabilities suitable for users preferring graphical interfaces.

Launch YaST Software Management through the system menu by navigating to System Settings > YaST > Software Management, or execute sudo yast2 sw_single in a terminal window. The interface loads with a searchable package database containing thousands of available applications.

Step-by-Step Installation Process

The YaST installation process follows a straightforward workflow designed for user convenience and safety:

  1. Search for Krita: Enter “krita” in the search field located at the top of the Software Management window. YaST displays matching packages, including the main Krita application and related components.
  2. Package Selection: Click the checkbox next to the “krita” package to mark it for installation. YaST automatically calculates dependencies and additional required packages, displaying them in the selection summary.
  3. Dependency Resolution: Review the automatically selected dependencies, which typically include Qt libraries, KDE frameworks, and multimedia codecs. Accept the suggested package selections unless specific requirements demand otherwise.
  4. Repository Addition: If Krita appears unavailable or outdated, add the KDE:Extra repository for access to newer versions. Navigate to Configuration > Repositories and add the appropriate repository URL for your openSUSE version.
  5. Installation Confirmation: Click “Accept” to begin the installation process. YaST downloads required packages and installs them automatically, providing progress feedback throughout the operation.
  6. Installation Verification: Upon completion, verify successful installation by searching for Krita in your application menu or executing krita in a terminal window.

Managing KDE:Extra Repository

The KDE:Extra repository provides enhanced access to current KDE applications, including updated Krita versions. Adding this repository requires careful attention to version compatibility and package conflicts.

Access repository management through YaST by selecting Configuration > Repositories within the Software Management interface. Click “Add” and choose “Specify URL” for manual repository addition. Enter the appropriate KDE:Extra repository URL for your openSUSE version and distribution type.

Method 2: Command Line Installation with Zypper

Zypper Package Manager Overview

Zypper functions as openSUSE’s command-line package management tool, offering powerful functionality for software installation, updates, and system maintenance. Advanced users often prefer zypper for its speed, scriptability, and detailed control over package operations.

The tool provides comprehensive dependency resolution, automatic conflict handling, and extensive query capabilities for package information and system status. Understanding basic zypper commands enhances system administration efficiency and troubleshooting capabilities.

Basic Installation Commands

Installing Krita through zypper requires minimal commands while providing maximum control over the installation process:

sudo zypper refresh
sudo zypper install krita

The refresh command updates repository metadata, ensuring access to the latest package information. The install command downloads and installs Krita along with all required dependencies automatically.

Advanced Zypper Options

Power users can leverage additional zypper options for enhanced installation control:

sudo zypper install --no-confirm krita
sudo zypper install --dry-run krita
sudo zypper info krita

The --no-confirm flag bypasses installation prompts for automated installations. The --dry-run option simulates installation without making system changes, useful for dependency preview. The info command displays detailed package information including version, dependencies, and description.

Repository Management via Command Line

Adding repositories through zypper enables access to additional software sources:

sudo zypper addrepo https://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Tumbleweed/ KDE-Extra
sudo zypper refresh
sudo zypper install krita

Replace “openSUSE_Tumbleweed” with your specific openSUSE version identifier. The addrepo command creates a new repository source, while refresh updates package lists from all configured repositories.

Method 3: Snap Package Installation

Understanding Snap Packages

Snap packages represent a universal package format designed for cross-distribution compatibility and enhanced security through application sandboxing. These self-contained packages include all dependencies, eliminating potential conflicts with system libraries while ensuring consistent behavior across different Linux distributions.

Snap packages update automatically and provide easy rollback capabilities if issues arise. The sandboxed environment enhances security by limiting application access to system resources and user data through granular permission controls.

Snap Setup on openSUSE

openSUSE systems require snapd service installation and configuration before accessing snap packages:

sudo zypper install snapd
sudo systemctl enable snapd
sudo systemctl start snapd
sudo systemctl enable snapd.apparmor
sudo systemctl start snapd.apparmor

These commands install the snap daemon, enable automatic startup, and configure AppArmor security policies. Restart your system or log out and back in to ensure proper environment variable configuration.

Installing Krita via Snap

Once snapd configuration completes, install Krita through a simple command:

sudo snap install krita

The installation process downloads the complete Krita snap package, including all dependencies and runtime components. Snap packages typically require more storage space than traditional packages due to their self-contained nature.

Snap Permission Management

Snap packages operate within restricted environments requiring explicit permission grants for system access:

snap connect krita:removable-media
snap connect krita:home

These commands grant Krita access to removable storage devices and user home directories. Additional permissions may be required depending on your specific workflow requirements and file storage locations.

Method 4: Flatpak Installation

Flatpak Application Framework

Flatpak provides another universal package format emphasizing security, portability, and modern application distribution practices. Applications run within sandboxed environments with controlled access to system resources, enhancing security while maintaining functionality.

The Flatpak ecosystem centers around Flathub, a centralized repository hosting thousands of applications maintained by developers and community contributors. Flatpak applications receive updates independently of the host system, ensuring access to current software versions.

Flatpak Setup Process

Install Flatpak support on openSUSE through the following commands:

sudo zypper install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

The first command installs Flatpak runtime components, while the second adds the Flathub repository as an application source. Restart your desktop session to ensure proper integration with application menus and file associations.

Krita Flatpak Installation

Install Krita from Flathub using the flatpak command:

flatpak install flathub org.kde.krita

Flatpak downloads the application along with required runtime dependencies. The installation process may take several minutes depending on network speed and required runtime components.

Launch installed Flatpak applications through desktop menus or command line:

flatpak run org.kde.krita

Flatpak Application Management

Manage Flatpak applications through various commands for updates, removal, and information queries:

flatpak update
flatpak list
flatpak uninstall org.kde.krita

Regular updates ensure access to latest application versions and security patches. The list command displays all installed Flatpak applications, while uninstall removes applications and unused dependencies.

Method 5: AppImage Installation

AppImage Portable Applications

AppImage represents a portable application format requiring no installation or administrator privileges for execution. These self-contained files include all necessary dependencies, enabling application execution on various Linux distributions without system modifications.

AppImage applications maintain user settings in standard locations while avoiding system-wide changes. This approach suits users requiring latest software versions, testing purposes, or systems with restricted administrative access.

Downloading Krita AppImage

Obtain the official Krita AppImage from the project’s download page or GitHub releases section. Verify download integrity through provided checksums to ensure file authenticity and completeness.

Download the latest stable AppImage release:

wget https://download.kde.org/stable/krita/latest/krita-latest-x86_64.appimage
chmod +x krita-latest-x86_64.appimage

The wget command downloads the AppImage file, while chmod makes it executable. Replace the URL with the current download link for the latest version.

AppImage Execution and Integration

Execute AppImage applications directly without installation requirements:

./krita-latest-x86_64.appimage

For improved desktop integration, consider using AppImageLauncher or manual desktop entry creation. AppImageLauncher provides automatic integration features, while manual desktop entries offer custom configuration options.

Create a desktop entry for menu integration:

mkdir -p ~/.local/share/applications
cat > ~/.local/share/applications/krita-appimage.desktop << EOF
[Desktop Entry]
Type=Application
Name=Krita
Exec=/path/to/krita-latest-x86_64.appimage
Icon=krita
Categories=Graphics;2DGraphics;RasterGraphics;
EOF

Post-Installation Configuration

Initial Application Setup

Launch Krita for the first time to initialize user configurations and verify proper installation. The application creates configuration directories in your home folder and performs initial setup procedures automatically.

Configure essential settings during first launch, including canvas defaults, tool presets, and interface layouts. These initial configurations significantly impact workflow efficiency and user experience during creative work.

Install Krita on openSUSE

Desktop Environment Integration

Ensure proper desktop integration by verifying menu entries, file associations, and icon themes. KDE Plasma environments provide optimal integration, while other desktop environments may require manual configuration adjustments.

Configure file associations for supported formats including .kra, .ora, and various image formats. This enables direct file opening through file managers and improves workflow integration with other creative applications.

Performance Optimization

Optimize Krita performance through configuration adjustments suited to your hardware capabilities and workflow requirements:

  1. Memory Allocation: Adjust memory limits in Settings > Configure Krita > Performance. Allocate 50-75% of available RAM for optimal performance with large projects.
  2. GPU Acceleration: Enable OpenGL acceleration in Settings > Configure Krita > Display if supported by your graphics hardware.
  3. Tablet Configuration: Configure graphics tablet settings through Settings > Configure Krita > Tablet. Test pressure sensitivity and button mappings for optimal drawing experience.

Plugin and Resource Management

Krita supports extensive customization through plugins, brush packs, and additional resources. Access the resource manager through Settings > Manage Resources to install additional content.

Popular resource additions include:

  • Additional brush presets for specific artistic styles
  • Texture packs for enhanced painting effects
  • Color palettes for consistent project theming
  • Custom workspace layouts for improved workflow efficiency

Troubleshooting Common Issues

Installation Failure Resolution

Installation failures typically result from dependency conflicts, repository issues, or insufficient system resources. Systematic troubleshooting approaches help identify and resolve these problems efficiently.

Dependency Conflicts: Use zypper’s conflict resolution tools to identify problematic packages:

sudo zypper verify
sudo zypper install --force-resolution krita

Repository Access Issues: Verify repository configurations and network connectivity:

sudo zypper refresh
zypper repos --details

Permission Problems: Ensure proper administrative privileges and resolve permission conflicts:

sudo chown -R $USER:$USER ~/.local/share/krita
sudo chmod 755 ~/.local/share/krita

Application Launch Problems

Launch failures often indicate library compatibility issues, desktop environment conflicts, or corrupted configurations. Systematic diagnosis helps identify root causes and appropriate solutions.

Library Compatibility: Verify required libraries installation:

ldd $(which krita)
sudo zypper install libQt5*

Configuration Reset: Remove corrupted configuration files:

mv ~/.config/kritarc ~/.config/kritarc.backup
mv ~/.local/share/krita ~/.local/share/krita.backup

Graphics Driver Issues: Update graphics drivers and verify OpenGL support:

glxinfo | grep "OpenGL version"
sudo zypper install Mesa-dri-drivers

Performance and Graphics Issues

Performance problems typically stem from inadequate hardware resources, suboptimal configurations, or graphics driver incompatibilities. Proper diagnosis and configuration adjustments resolve most performance concerns.

Memory Optimization: Monitor memory usage and adjust allocation settings:

free -h
htop

Configure Krita memory settings based on available system resources and typical project requirements.

Graphics Acceleration: Troubleshoot OpenGL and graphics acceleration issues:

sudo zypper install Mesa-libGL1 Mesa-libEGL1
export KRITA_NO_OPENGL=1 # Disable OpenGL if problematic

Maintaining and Updating Krita

Update Management Strategies

Different installation methods require specific update procedures to maintain current software versions and security patches. Understanding these procedures ensures consistent access to latest features and bug fixes.

Traditional Package Updates: Use zypper for system-wide updates:

sudo zypper update krita
sudo zypper dup # Distribution upgrade for Tumbleweed

Snap Package Updates: Snap packages update automatically, but manual updates are possible:

sudo snap refresh krita
sudo snap refresh # Update all snap packages

Flatpak Updates: Update Flatpak applications through flatpak commands:

flatpak update org.kde.krita
flatpak update # Update all Flatpak applications

AppImage Updates: AppImage applications require manual updates through new file downloads.

Backup and Configuration Management

Preserve custom configurations, brushes, and workspace layouts through regular backup procedures. These backups enable quick restoration after system changes or migrations.

Important directories for backup include:

  • ~/.config/kritarc – Main configuration file
  • ~/.local/share/krita/ – User resources and presets
  • ~/.config/krita.org/ – Additional configuration data

Create automated backup scripts for regular configuration preservation:

#!/bin/bash
tar -czf krita-backup-$(date +%Y%m%d).tar.gz ~/.config/kritarc ~/.local/share/krita/

Performance Monitoring

Monitor Krita performance and system resource usage to maintain optimal operation. Regular monitoring helps identify potential issues before they impact workflow productivity.

Use system monitoring tools to track resource usage:

htop # Interactive process viewer
iotop # I/O monitoring
nvidia-smi # NVIDIA GPU monitoring (if applicable)

Alternative Installation Methods

Building from Source

Advanced users may prefer building Krita from source code for access to development features, custom optimizations, or learning purposes. This approach requires comprehensive development tool installation and significant compilation time.

Install development dependencies:

sudo zypper install gcc-c++ cmake Qt5-devel KF5-devel
sudo zypper install python3-devel boost-devel eigen3-devel

Download and compile Krita source code:

git clone https://invent.kde.org/graphics/krita.git
cd krita
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
make -j$(nproc)
sudo make install

Community Repositories

Third-party repositories may offer specialized Krita builds, development versions, or additional plugins not available through official channels. Exercise caution when adding unofficial repositories to maintain system security and stability.

Popular community repositories include:

  • openSUSE Build Service (OBS) personal projects
  • Packman repository for multimedia enhancements
  • KDE unstable repositories for development versions

Containerized Solutions

Docker and Podman containers provide isolated Krita installations suitable for testing, development, or environments requiring specific software versions without system modifications.

Example Docker command for Krita execution:

docker run -it --rm \
  -e DISPLAY=$DISPLAY \
  -v /tmp/.X11-unix:/tmp/.X11-unix \
  -v $HOME/Documents:/Documents \
  krita-container

This approach requires X11 forwarding configuration and appropriate container image creation or acquisition.

Congratulations! You have successfully installed Krita. Thanks for using this tutorial to install the latest version of Krita free and open-source painting on openSUSE Linux system. For additional help or useful information, we recommend you check the official Krita website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is an experienced Linux enthusiast and technical writer with a passion for open-source software. With years of hands-on experience in various Linux distributions, r00t has developed a deep understanding of the Linux ecosystem and its powerful tools. He holds certifications in SCE and has contributed to several open-source projects. r00t is dedicated to sharing her knowledge and expertise through well-researched and informative articles, helping others navigate the world of Linux with confidence.
Back to top button