Inkscape for Rocky 10

Red Hat removed Inkscape from RHEL 10. Rocky follows RHEL’s package set. I need Inkscape RPMs for Rocky Linux 10. I use a VM without X. The image is from Ionos. The VM has 6 cores, 16GB RAM and 240 GB Disk Space. On this VM I write the most of the time my Papers with TexLive 2026. On Rocky 9 a simple. dnf install inkscape worked fine.

I would like to build my own rpm with GitHub Actions. Can I use the Fedora packages? I need help to build the incsapce package.

Easiest is to build one of the Fedora source rpms using Mock. You won’t necessarily be able to use the latest Fedora source rpm, but one of them from a slightly older version should work fine. When building with Mock it may also need the EPEL repository enabled to find additional dependencies.

AlmaLinux forum had similar question and there one suggestion ( No Inkscape Packages for Almalinux 10 - #8 by cadguidetools - AlmaLinux ) was to use librsvg2-tools (which el10 has) as alternative for some operations.


Pedantically, el10 has no X at all – as in GUI session based on X11 implementation, like XOrg.
What el10 does have for GUI is Wayland, which can show (most) X11 clients via its XWayland component.

Here is a COPR that has inkscape rpms for el10.

Thanks, that’s great news!

I’ve created my own repository for building Inkscape on AlmaLinux 10:

GitHub repository: GitHub - joergklein/almalinux-inkscape: Inkscape for AlmaLinux 10

I was able to resolve a build issue by applying an official patch provided by the Inkscape project. However, I plan to use the Fedora build of Inkscape instead. I hope the patch will also be applied to the Fedora package.

I will delete the repo in some days.

Purpose of the patch:

The patch ensures that GTK’s recent file manager (Gtk::RecentManager) is only accessed when the graphical user interface is enabled (_with_gui). This prevents GUI-related functionality from being accessed in non-GUI mode, avoiding potential issues during command-line operations and headless execution.

Patch:

diff --git a/src/inkscape-application.cpp b/src/inkscape-application.cpp
--- a/src/inkscape-application.cpp
+++ b/src/inkscape-application.cpp
@@ -192,1 +192,2 @@
+        if (_with_gui) {
         if (auto recentmanager = Gtk::RecentManager::get_default()) {
@@ -214,3 +215,4 @@
         }
+        }

         document_add (document);

The patch is included in my AlmaLinux 10 build, available in the GitHub repository linked above.

There is another warning displayed by Inkscape when it is running:

WARNING **: Failed to wrap object of type 'PangoFT2FontMap'. Hint: this error is commonly caused by failing to call a library init() function.

Unfortunately, I haven’t been able to find an official patch to fix this warning.

[copr:copr.fedorainfracloud.org:mlampe:inkscape]
name=Copr repo for inkscape owned by mlampe
baseurl=``https://download.copr.fedorainfracloud.org/results/mlampe/inkscape/rhel+epel-10-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=``https://download.copr.fedorainfracloud.org/results/mlampe/inkscape/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1

this is a repo for el10 on copr fedorainfracloud org it works an is actualy

What about installing the flatpak version from flathub? You can find it here, and if you click the dropdown on the install button, you get the flatpak cmd line instructions.