Difference between revisions of "Tracking Dependencies"

From Inkscape Wiki
Jump to navigation Jump to search
(→‎Distros: OpenSuSE 12.2 EOL)
(153 intermediate revisions by 14 users not shown)
Line 1: Line 1:
== Overview ==
== Compilers ==


We need help getting our basic lib dependencies listed out and kept up to date. Also we need to track which versions of which distros have the needed dependencies.
* Version 1.0 requires a C++11 compiler.
* Version 1.1 requires a C++17 compiler.
* Version 1.4 requires a C++20 compiler.


To get glib and GTK+ dependencies figured out, people can go through the API documentation and look for the 'since' entries saying when calls were added. Then look for those calls in our source. Voila! we'll have base minimum dependencies figured out.
See [[c++11]], [[c++17]], and [[C++20]].


== Libs ==
== Libs ==
Line 12: Line 14:
|-
|-
! Library
! Library
! v 0.48.4
! v 0.92
! trunk
! v 1.0
! trunk (GTK+ 3.0 build)
! v 1.1
! v 1.2
! v 1.3
! master
! gtk4
|-
|-
| Boehm-GC
| Boehm-GC
| 6.4
| 7.2
| 7.1
| 7.2
| 7.1
| 7.2
|
|
|
|
|-
|-
| Cairo
| Cairo
| ?
| 1.14
| 1.10
| 1.14 (1.15.4 required for PDF links)
| 1.10
| 1.16*
| 1.16
| 1.16
|
| 1.16**
|-
| double-conversion [https://github.com/google/double-conversion]<br/>''(lib2geom dependency)''
| ''(not required)''
| any
|
|
|
|
|-
| FreeType
|
|
| 2.9* (Required for Variable fonts)
| 2.9
| 2.9
|
|
|-
|-
| GDL
| GDL
| N/A
| N/A<br />(3.4)
| N/A
| 3.4
| 3.3.4
| Not Used
| Not Used
| Not Used
| Not Used
|-
|-
| Glib
| Glib
| ''2.16*''
| 2.28
| 2.28
| 2.28
| 2.48
| 2.56 or 2.62*
| 2.64
| 2.64
|
| 2.68**
|-
|-
| GTK+
| GTK+
| ''2.12*''
| 2.24<br />(3.8)
| 2.24
| 3.22
| 3.2
| 3.24*
| 3.24
| 3.24
|
| 4.12<sup>+</sup>
|-
|-
| GNU Scientific Library
| GNU Scientific Library
| ?
| ?
| ?
| ?
|
|
|
|
|
|-
| HarfBuzz
| ?
| ?
| ?
| 2.2*
| 2.6
| 2.6
| 2.6.5*
|
|-
| libsigc++
| ''2.0.12*''
| ''2.0.12*''
| ''2.0.12*''
|
|
|
| 3.0**
|-
| libSoup
| ''(not required)''
| (any)
|
|
|
|
|
|-
|-
| LittleCMS
| libpotrace
| 1.13
| ''(not required)''
| 1.13
| (any)
| 1.13
|
|
|
|
|
|-
|-
| libxml
| libxml
| ''2.6.11*''
| ''2.6.11*''
| ''2.6.11*''
| ''2.6.11*''
| ''2.6.11*''
|
|
|
|
|
|-
|-
| libxslt
| libxslt
| ''1.0.15*''
| ''1.0.15*''
| ''1.0.15*''
| ''1.0.15*''
| ''1.0.15*''
|
|
|
|
|
|-
| lcms
| 1.13
| 2.2
| 2.2 (2.9*)
| 2.9*
| 2.9*
|
|
|-
|-
| Pango
| Pango
| ?
| ?
| 1.24
| 1.24
| 1.24 (1.41.1 required for variable fonts)
| 1.42*
| 1.44
| 1.44 (HarfBuzz shaping)
|
| 2.48**
|-
|-
| Poppler
| Poppler
| ''0.5.9*''
| 0.20.0
| ''0.5.9*''
| 0.20.0
| ''0.5.9*''
| 0.29 (0.71*)
| 0.29 (0.71*)
| 0.71*
|
|
|-
|-
| libsigc++
| [https://formulae.brew.sh/formula/gtk-mac-integration gtk-mac-integration]<br>[https://www.macports.org/ports.php?by=library&substr=gtk-osx-application-gtk3 gtk-osx-application-gtk3]
| ''2.0.12*''
| N/A
| ''2.0.12*''
| 2.0.8 ([[CompilingMacOsX|macOS only]])
| ''2.0.12*''
|
|
|
|
|
|}
|}


''* Tentative dependency''
''* Tentative dependency''
* Pango 1.42.2 requires Harfbuzz 1.4.2
* Pango 1.44.0 requires Glib 2.59.2 and Harfbuzz 2.0. 1.44 exposes hb_font directly.
* Pango 1.45.1 requires Glib 2.60
* Pango 1.48.4 has vertical upright marks fix.
* Harfbuzz 4.1 changes glyph positioning for upright vertical text when font does not have vertical metrics (from glyph touching to of cell to being centered in cell).
''** Gtkmm4 requires API changed Glibmm, Cairomm, and Pangomm. In particular, enums use child namespaces in newer libraries (Cairo::FORMAT_ARGB32 -> Cairo::Surface::Format::ARGB32).''
''<sup>+</sup> Decision at 5 Nov 2023 developer's meeting. Gtk4 4.10.1 has an important scrolling bug fix.''


== Distros ==
== Distros ==


Note: This table is not relevant to (non-fink) MacOS X, where we ship the desired version with Inkscape.
Note: This table is not relevant to (non-fink) MacOS X, where we ship the desired version with Inkscape.
"Inkscape" column is default or distro version / oldest that builds - latest that builds. If no latest is given then that means trunk is expected to build on the given platform.
e.g. for a distro that ships with 0.48 but should support building of trunk you might get:
0.48 / 0.47-
'''General rules:'''
* Support latest Debian Stable (as of feature freeze) [https://www.debian.org/distrib/packages Debian packages]
* Support latest Ubuntu LTS (as of feature freeze) [https://packages.ubuntu.com/ Ubuntu packages]
**e.g. Considering Inkscape 1.2, the latest Ubuntu LTS at '''feature freeze time''' (around February 2022) would have been Ubuntu 20.04. The latest LTS at release time (around May 2022), though, will be Ubuntu 22.04.  Therefore, according to the rule, we should support Ubuntu 20.04 LTS as the minimum version.
* Support last two Fedora releases (as of feature freeze) [https://packages.fedoraproject.org/ Fedora packages]
* Don't break ''point'' releases.


{| class="wikitable"
{| class="wikitable"
|-
|-
! Distro
! Distro
! Inkscape
! gcc<sup>#</sup>
! clang<sup>#</sup>
! cairo
! cairo
! cairomm
! cairomm
! freetype
! glib
! glib
! glibmm
! glibmm
! gtk+
! gtk+
! gtkmm
! gtkmm
! harfbuzz
! pango
! pango
! poppler
! poppler
! gdl
! gdl
! lcms
! lcms2
! libsigc++
! libsigc++
! libgc <!-- Fedora rpm: gc -->
! libgc <!-- Fedora rpm: gc -->
! libsoup
|-
| Windows MSYS2 (2021-04-14)<br/>([https://github.com/Alexpux/MINGW-packages mingw-w64 packages] from MSYS2 project)
  <!-- see http://quodlibet.duckdns.org/msys2/base for list of latest package versions -->
| 1.0.2
| 10.2.0
| 11.0.0
| 1.17.4
| 1.12.2
| 2.10.4
| 2.68.1
| 2.66.0
| 3.24.27
| 3.24.3
| 2.8.0
| 1.48.4
| 20.12.1
| 3.34.0
| 2.12
| 2.10.6
| 8.0.4 <!-- mingw-w64-gc -->
| 2.72.0
|-
|-
| style="background:Violet;"|Windows Devlibs (r46)
| Debian 11 (Bullseye, oldstable) <small>EOL 2026</small>
| 1.11.2
| 1.0.2
| 1.10.0
| 10.2.1
| 2.28.8
| 13.0.1
| 2.28.2
| 1.16
| style="background:Violet;"| 2.24.10
| 1.12.2
| style="background:Violet;"| 2.24.2
| 2.10.4
| 1.28.3
| 2.66.8
| 0.12.1
| 2.64.2
| style="background:Violet;"| (none)
| 3.24.24
| 1.17
| 3.24.2
| 2.2.11
| 2.7.4
| 7.1
| 1.46.2
| 20.09.0
| 3.34.0
| 2.12
| 2.10.4
| 8.0.4
| 2.72.0
|-
|-
| Windows Devlibs Gtk+ 3 branch (r28)
| Debian 12 (Bookworm, stable) <small>EOL 2028?</small>
| 1.10.2
| 1.2.2
| 1.10.0
| 12.2.0
| 2.38.0
| 15.0.6
| 2.36.0
| 1.16.0
| 2.24.18<br />3.8.1
| 1.12.1
| 2.24.2<br />3.8.0
| 2.10.4
| 1.34.0
| 2.74.5
| 0.22.5
| 2.74.0
| 3.4.2
| 3.24.36<br />4.8.3
| 1.19<br />2.4
| 3.24.7<br />4.8.0
| 2.2.10
| 6.0.0
| 7.2d
| 1.50.12
| 22.12.0
| 3.40.0
| 2.14.1
| 2.12.0<br />3.4.0
| 8.2.2
| 2.74.03<br />3.2.2
|-
|-
| Debian 7.0 (Wheezy, <i>stable</i>)
| Ubuntu 22.04 LTS (Jammy Jellyfish) <small>EOL 2027-04</small>
| 1.1.2
| 12.3.0
| 15.0.7
| 1.16.0
| 1.12.2
| 1.12.2
| 1.10.0
| 2.11.1
| 2.33.12
| 2.72.1
| 2.32.1
| 2.66.2
| 2.24.10<br />3.4.2
| 3.24.33<br />4.6.2
| 2.24.2<br />3.4.2
| 3.24.5<br />no libgtkmm-4.0
| 1.32.5
| 2.7.4
| 0.18.4
| 1.50.6
| 3.4.2
| 22.02.0
| 1.19<br />2.2
| 3.40.0
| 2.2.10
| 2.12-rc1
| 7.1
| 2.10.4
| 8.0.6
| 2.74.2<br />3.0.5
|-
| Ubuntu 23.10 (Mantic)
| 1.2.2
| 13.2.0
| 16.0.0<br />(17.0.2)
| 1.14.4<br />1.16.0
| 1.14.4<br />1.16.2
| 2.13.1
| 2.78.0
| 2.66.6<br />2.78.0
| 3.24.38<br />4.12.2
| 3.24.8<br />4.10.0
| 8.0.1
| 1.51.0<br />2.50.1
| 23.08.0
| 3.40.0
| 2.14.2
| 2.12.0<br />3.4.0
| 8.2.4
| 2.74.3<br />3.4.2
|-
| Ubuntu 24.04 LTS (Noble) <small>EOL 2029-04</small>
| 1.2.2
| 13.2.0
| 18.0.0<br />(18.1.3)
| 1.18.0
| 1.14.5<br />1.18.0
| 2.13.2
| 2.80.0
| 2.66.7<br />2.78.1
| 3.24.41<br />4.14.2
| 3.24.9<br />4.10.0
| 8.3.0
| 1.52.1<br />2.52.0
| 24.02.0
| 3.40.0
| 2.14.2
| 2.12.1<br />3.6.0
| 8.2.6
| 2.74.3<br />3.4.4
|-
| Ubuntu 24.10 (Oracular)
| 1.2.2
| 14.1.0
| 19.0<br />(19.0)
| 1.18.2
| 1.14.5<br />1.18.0
| 2.13.3
| 2.80.0
| 2.66.7<br />2.82.0
| 3.24.43<br />4.16.1
| 3.24.9<br />4.16.0
| 9.0.0
| 1.54.0<br />2.54.0
| 24.08.0
| 3.40.0
| 2.14.2
| 2.12.1<br />3.6.0
| 8.2.6
| 2.74.3<br />3.6.0
|}
<sup>#</sup>Debian and Ubuntu offer multiple gcc and clang versions, latest available version listed.
 
* Agreed to at Saarbrücken hackfest.
 
== Getting and Installing Source packages ==
 
See [https://inkscape.org/develop/getting-started/ Getting Started]
 
== Optional Dependencies ==
 
Inkscape will still compile without these, but some features may be missing if they are absent during compilation:
 
{| class="wikitable"
|-
|-
| Fedora 19
! scope="col"| Library
| 1.12.14
! scope="col"| Needed for
| 1.10.0
! scope="col"| Default
| 2.36.3
| 2.36.2
| 2.24.19<br /> 3.8.2
| 2.24.3<br />3.8.1
| 1.34.1
| 0.22.1
| 3.8.1
| 1.19 <br /> 2.5
| 2.3.1
| 7.2d
|-
|-
| Fedora 20
|aspell
| 1.13.1+git
|Dictionaries for spell checking
| 1.10.0
|On
| 2.38.2
| 2.38.1
| 2.24.22<br />3.10.6
| 2.24.4<br />3.10.1
| 1.36.1
| 0.24.3
| 3.10.0
| 1.19<br />2.5
| 2.3.1
| 7.2d
|-
|-
| OpenSuSE 12.3 <small>EOL 2014-09-15</small>[http://en.opensuse.org/Lifetime]
|libcdr
| 1.12.8
|Open Corel Draw files
| 1.10.0
|On
| 2.34.3
| 2.34.1
| 2.24.14<br />3.6.4
| 2.24.2<br />3.6.0
| 1.32.5
| 0.22.0
| 3.6.2
| 1.19 <br />2.4
| 2.2.11
| 7.1.9.6
|-
|-
| OpenSuSE 13.1 <small>EOL 2015-05-01</small>[http://en.opensuse.org/Lifetime]
|gettext/msgformat
| 1.12.16
|Translation support
| 1.10.0
|On
| 2.38.1
| 2.38.0
| 2.24.22<br />3.10.2
| 2.24.4<br />3.10.0
| 1.36.0
| 0.24.3
| 3.10.0
| 1.19<br />2.5
| 2.3.1
| 7.2d
|-
|-
| Ubuntu 12.04 LTS (Precise) <small>EOL 2017-04</small>
|gtest/gmock
| 1.10.2
|Automatted testing
| 1.10.0
|Off
| 2.32.3
| 2.32.0
| 2.24.10<br />3.4.2
| 2.24.2<br />3.4.0
| 1.30.0
| 0.18.4
| 3.3.91
| 1.19 <br /> 2.2
| 2.2.10
| 7.1
|-
|-
| Ubuntu 12.10 (Quantal) <small>EOL 2014-04</small>
|gspell
| 1.12.2
|Spell checking
| 1.10.0
|On
| 2.34.1
|-
| 2.33.13
|imagemagick
| 2.24.13<br />3.6.0
|Bitmap editing extensions, bitmap import resolution
| 2.24.2<br />3.5.13
|On
| 1.30.1
| 0.20.4
| 3.6.0
| 1.19 <br />2.2
| 2.2.10
| 7.1
|-
|-
| Ubuntu 13.10 (Saucy) <small>EOL 2014-07</small>
|jpeg
| 1.12.16
|jpeg import?
| 1.10.0
|On
| 2.38.0
| 2.37.4
| 2.24.20<br />3.8.6
| 2.24.4<br />3.8.1
| 1.32.5
| 0.24.1
| 3.8.1
| 1.19<br />2.5
| 2.2.10
| 7.2d
|-
|-
| Ubuntu 14.04 (Trusty) <small>dev version 2013-01-07, EOL 2019-04</small>
|OpenMP
| 1.12.16
|Multi-threaded filter rendering
| 1.10.0
|On
| 2.39.1
| 2.38.1
| 2.24.22<br />3.10.6
| 2.24.4<br />3.10.1
| 1.36.0
| 0.24.3
| 3.8.1
| 1.19<br />2.5
| 2.2.10
| 7.2d
|}
 
{| class="wikitable"
|-
|-
! Legend
|scour
|Save as Optimized SVG
|(not needed during compiling, Python)
|-
|-
| style="background:Red;"| Inkscape 0.48 unsupported
|libvisio
|Open Visio Files, use Visio stencils
|On
|-
|-
| style="background:Orange;"| Inkscape trunk unsupported
|libwpg
|Open WordPerfect Graphics
|On
|-
|-
| style="background:Violet;"| GTK+ 3 builds unsupported
|}
|}


== Getting and Installing Source packages ==
If your distro does not have some packages available (like many don't, ie, Fedora Core 2), you must often download
source packages and build and install them yourself.  Actually this is not that hard, and is similar to
doing a Gentoo 'emerge.'
* Usually you download a file with a name like somepackage-1.0.tar.gz.  Unpack it with
    $ tar zxf somepackage-1.0.tar.gz
    or
    $ tar jxf somepackage-1.0.tar.bz2
* Then 'cd' into the new directory.
* Configure it with the command:
    $ ./configure
* Build it with:
    $ make
* As the 'root' user,  install it with:
    # make install
=== Boehm-GC ===
Source: http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source
*  Download this file:
**  http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.8.tar.gz
*  Unpack it
**  tar zxf gc6.8.tar.gz
*  Configure and build it
**  cd gc6.8
**  ./configure --disable-shared --enable-static
**  make
*  Install it
**  su    (or however else you become root)
**  make install
Binaries:  If searching for a package for GC, the name of it is sometimes:
* gc
* libgc
* gc-devel
* libgc-devel
* boehm-gc  (on Gentoo)
* debian/ubuntu:  sudo apt-get install libgc-dev
=== libSigc++ ===
Source: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-2.2.3.tar.bz2
With this file, and for GlibMM and GtkMM below, it is usually desirable for us developers to
build this C++ library statically.  This removes a dependency that might be difficult for an
end-user during installation.  Configure it with:
    ./configure --enable-static --disable-shared
=== GlibMM ===
Try to match your Glib2 version with GlibMM's version. For example, if your Glib2 is 2.16.6, download glibmm-2.16.4.tar.bz2.
Latest source: http://ftp.gnome.org/pub/GNOME/sources/glibmm/
=== GtkMM ===
Usually you can try the latest version of GtkMM, but if you get version mismatch errors, try older releases.
Source: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.12/gtkmm-2.12.7.tar.bz2
=== cairomm ===
if you got prompted about cairomm, try first solve your cairo version, so you can grab [http://www.cairographics.org/releases/ there] a compatible version.
=== Boost ===
Many users have reported when building from source that after installing the above dependencies, the configure script still requires a "boost" package. It can be found below, but even after installing, you will need to create a symlink to allow the configure script to find it:
    ln -s /usr/local/include/boost_1_xx_x/boost /usr/local/include/boost
Source: http://www.boost.org/users/download/
=== Poppler ===
Source: http://poppler.freedesktop.org/


Poppler is required for PDF import. There are several potential issues:
* Some Linux distributions do not ship the Xpdf headers required by Inkscape. In such cases, you need to recompile Poppler, passing --enable-xpdf-headers on the configure line. See [https://bugs.launchpad.net/inkscape/+bug/254849 this wishlist bug]. This typically manifests in error messages like this:
<pre>In file included from extension/internal/pdfinput/svg-builder.cpp:19:
extension/internal/pdfinput/svg-builder.h:32:23: error: CharTypes.h: No such file or directory
...
make[2]: *** [extension/internal/pdfinput/svg-builder.o] Error 1
make[2]: Leaving directory `/tmp/build/inkscape-0.46/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/build/inkscape-0.46'
make: *** [all] Error 2</pre>
* Inkscape 0.47 does not compile with Poppler >= 0.12.2. If you need to compile Inkscape on such systems, use the development version from Bazaar, where this bug is fixed. See [https://bugs.launchpad.net/inkscape/+bug/487038 the bug report] for details and a minimal patch.
* Inkscape compiled with Poppler <= 0.12.1 will run on systems with Poppler >= 0.12.2, but the PDF import function will crash instantly. This problem does not concern Windows users, since the correct Poppler version is contained in the Windows installer package. This cannot be fixed on Inkscape's side: those two versions of Poppler are not ABI compatible, yet share the same soname. See [https://bugs.launchpad.net/inkscape/+bug/258504 this bug] for more details.
* Poppler's Xpdf headers are not guaranteed to be API-compatible between releases. It's likely that future Poppler versions will break PDF import in some way. PDF import works at least up to 0.12.4 but might not work with later versions.


[[Category:About Inkscape]]
[[Category:About Inkscape]]
[[Category:Developer Documentation]]
[[Category:Developer Documentation]]

Revision as of 09:10, 25 September 2024

Compilers

  • Version 1.0 requires a C++11 compiler.
  • Version 1.1 requires a C++17 compiler.
  • Version 1.4 requires a C++20 compiler.

See c++11, c++17, and C++20.

Libs

C++ bindings are not included, since their required versions match those of the C counterparts.

Library v 0.92 v 1.0 v 1.1 v 1.2 v 1.3 master gtk4
Boehm-GC 7.2 7.2 7.2
Cairo 1.14 1.14 (1.15.4 required for PDF links) 1.16* 1.16 1.16 1.16**
double-conversion [1]
(lib2geom dependency)
(not required) any
FreeType 2.9* (Required for Variable fonts) 2.9 2.9
GDL N/A
(3.4)
3.4 Not Used Not Used Not Used Not Used
Glib 2.28 2.48 2.56 or 2.62* 2.64 2.64 2.68**
GTK+ 2.24
(3.8)
3.22 3.24* 3.24 3.24 4.12+
GNU Scientific Library ? ?
HarfBuzz ? ? 2.2* 2.6 2.6 2.6.5*
libsigc++ 2.0.12* 2.0.12* 2.0.12* 3.0**
libSoup (not required) (any)
libpotrace (not required) (any)
libxml 2.6.11* 2.6.11*
libxslt 1.0.15* 1.0.15*
lcms 1.13 2.2 2.2 (2.9*) 2.9* 2.9*
Pango 1.24 1.24 (1.41.1 required for variable fonts) 1.42* 1.44 1.44 (HarfBuzz shaping) 2.48**
Poppler 0.20.0 0.20.0 0.29 (0.71*) 0.29 (0.71*) 0.71*
gtk-mac-integration
gtk-osx-application-gtk3
N/A 2.0.8 (macOS only)

* Tentative dependency

  • Pango 1.42.2 requires Harfbuzz 1.4.2
  • Pango 1.44.0 requires Glib 2.59.2 and Harfbuzz 2.0. 1.44 exposes hb_font directly.
  • Pango 1.45.1 requires Glib 2.60
  • Pango 1.48.4 has vertical upright marks fix.
  • Harfbuzz 4.1 changes glyph positioning for upright vertical text when font does not have vertical metrics (from glyph touching to of cell to being centered in cell).

** Gtkmm4 requires API changed Glibmm, Cairomm, and Pangomm. In particular, enums use child namespaces in newer libraries (Cairo::FORMAT_ARGB32 -> Cairo::Surface::Format::ARGB32).

+ Decision at 5 Nov 2023 developer's meeting. Gtk4 4.10.1 has an important scrolling bug fix.

Distros

Note: This table is not relevant to (non-fink) MacOS X, where we ship the desired version with Inkscape.

"Inkscape" column is default or distro version / oldest that builds - latest that builds. If no latest is given then that means trunk is expected to build on the given platform.

e.g. for a distro that ships with 0.48 but should support building of trunk you might get:

0.48 / 0.47-

General rules:

  • Support latest Debian Stable (as of feature freeze) Debian packages
  • Support latest Ubuntu LTS (as of feature freeze) Ubuntu packages
    • e.g. Considering Inkscape 1.2, the latest Ubuntu LTS at feature freeze time (around February 2022) would have been Ubuntu 20.04. The latest LTS at release time (around May 2022), though, will be Ubuntu 22.04. Therefore, according to the rule, we should support Ubuntu 20.04 LTS as the minimum version.
  • Support last two Fedora releases (as of feature freeze) Fedora packages
  • Don't break point releases.
Distro Inkscape gcc# clang# cairo cairomm freetype glib glibmm gtk+ gtkmm harfbuzz pango poppler gdl lcms2 libsigc++ libgc libsoup
Windows MSYS2 (2021-04-14)
(mingw-w64 packages from MSYS2 project)
1.0.2 10.2.0 11.0.0 1.17.4 1.12.2 2.10.4 2.68.1 2.66.0 3.24.27 3.24.3 2.8.0 1.48.4 20.12.1 3.34.0 2.12 2.10.6 8.0.4 2.72.0
Debian 11 (Bullseye, oldstable) EOL 2026 1.0.2 10.2.1 13.0.1 1.16 1.12.2 2.10.4 2.66.8 2.64.2 3.24.24 3.24.2 2.7.4 1.46.2 20.09.0 3.34.0 2.12 2.10.4 8.0.4 2.72.0
Debian 12 (Bookworm, stable) EOL 2028? 1.2.2 12.2.0 15.0.6 1.16.0 1.12.1 2.10.4 2.74.5 2.74.0 3.24.36
4.8.3
3.24.7
4.8.0
6.0.0 1.50.12 22.12.0 3.40.0 2.14.1 2.12.0
3.4.0
8.2.2 2.74.03
3.2.2
Ubuntu 22.04 LTS (Jammy Jellyfish) EOL 2027-04 1.1.2 12.3.0 15.0.7 1.16.0 1.12.2 2.11.1 2.72.1 2.66.2 3.24.33
4.6.2
3.24.5
no libgtkmm-4.0
2.7.4 1.50.6 22.02.0 3.40.0 2.12-rc1 2.10.4 8.0.6 2.74.2
3.0.5
Ubuntu 23.10 (Mantic) 1.2.2 13.2.0 16.0.0
(17.0.2)
1.14.4
1.16.0
1.14.4
1.16.2
2.13.1 2.78.0 2.66.6
2.78.0
3.24.38
4.12.2
3.24.8
4.10.0
8.0.1 1.51.0
2.50.1
23.08.0 3.40.0 2.14.2 2.12.0
3.4.0
8.2.4 2.74.3
3.4.2
Ubuntu 24.04 LTS (Noble) EOL 2029-04 1.2.2 13.2.0 18.0.0
(18.1.3)
1.18.0 1.14.5
1.18.0
2.13.2 2.80.0 2.66.7
2.78.1
3.24.41
4.14.2
3.24.9
4.10.0
8.3.0 1.52.1
2.52.0
24.02.0 3.40.0 2.14.2 2.12.1
3.6.0
8.2.6 2.74.3
3.4.4
Ubuntu 24.10 (Oracular) 1.2.2 14.1.0 19.0
(19.0)
1.18.2 1.14.5
1.18.0
2.13.3 2.80.0 2.66.7
2.82.0
3.24.43
4.16.1
3.24.9
4.16.0
9.0.0 1.54.0
2.54.0
24.08.0 3.40.0 2.14.2 2.12.1
3.6.0
8.2.6 2.74.3
3.6.0

#Debian and Ubuntu offer multiple gcc and clang versions, latest available version listed.

  • Agreed to at Saarbrücken hackfest.

Getting and Installing Source packages

See Getting Started

Optional Dependencies

Inkscape will still compile without these, but some features may be missing if they are absent during compilation:

Library Needed for Default
aspell Dictionaries for spell checking On
libcdr Open Corel Draw files On
gettext/msgformat Translation support On
gtest/gmock Automatted testing Off
gspell Spell checking On
imagemagick Bitmap editing extensions, bitmap import resolution On
jpeg jpeg import? On
OpenMP Multi-threaded filter rendering On
scour Save as Optimized SVG (not needed during compiling, Python)
libvisio Open Visio Files, use Visio stencils On
libwpg Open WordPerfect Graphics On