Difference between revisions of "Hacking:Building/Linux"

From GIMP Developer Wiki
Jump to: navigation, search
m (Dependencies)
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
 
== Dependencies ==
 
== Dependencies ==
  
GIMP relies on a lot of other packages in addition to <code>babl</code>, <code>gegl</code>, <code>libmypaint</code> and <code>mypaint-brushes</code>.
+
GIMP depends on many packages in addition to <code>babl</code>, <code>gegl</code>, <code>libmypaint</code> and <code>mypaint-brushes</code>.
  
The requirements change frequently, but this page contains dependencies lists for different linux distributions.
+
Gimp.org may change the requirements for each Gimp release.
 +
Gimp.org changes which packages are required.
 +
The package names generally do not change.
 +
Build options affect which packages are required.
 +
 
 +
This page lists dependencies for some linux distributions, on certain dates, with all build options enabled.
  
 
==== Ubuntu 19.10 ====
 
==== Ubuntu 19.10 ====
 
+
Working in October 2019.
Workin in October 2019.
+
 
+
 
  sudo apt install \
 
  sudo apt install \
 
     libtool intltool \
 
     libtool intltool \
Line 25: Line 28:
 
     libappstream-glib-dev \
 
     libappstream-glib-dev \
 
     libarchive-dev \
 
     libarchive-dev \
     libavcodec-dev \
+
     libavcodec-dev libavformat-dev libavutil-dev \
    libavformat-dev \
+
    libavutil-dev \
+
 
     libbz2-dev \
 
     libbz2-dev \
    libgirepository1.0-dev \
 
 
     libgs-dev \
 
     libgs-dev \
     libgtk-3-dev \
+
     libgtk-3-dev libgtk2.0-dev gobject-introspection \
    libgtk2.0-dev gobject-introspection \
+
    libgirepository1.0-dev \
 
     libgudev-1.0-dev \
 
     libgudev-1.0-dev \
 
     libheif-dev \
 
     libheif-dev \
    libjpeg-dev \
+
     libjson-c-dev libjson-glib-dev \
     libjson-c-dev \
+
    libjson-glib-dev \
+
 
     liblcms2-dev \
 
     liblcms2-dev \
 
     liblensfun-dev \
 
     liblensfun-dev \
 
     libmng-dev \
 
     libmng-dev \
 
     libopenexr-dev \
 
     libopenexr-dev \
     libopenjp2-7-dev \
+
     libjpeg-dev libopenjp2-7-dev \
 
     libpoppler-glib-dev \
 
     libpoppler-glib-dev \
 
     libraw-dev \
 
     libraw-dev \
     librsvg2-bin \
+
     librsvg2-bin librsvg2-dev \
    librsvg2-dev \
+
 
     libsdl2-dev \
 
     libsdl2-dev \
 
     libspiro-dev \
 
     libspiro-dev \
Line 56: Line 53:
 
     libwebp-dev \
 
     libwebp-dev \
 
     luajit \
 
     luajit \
     python-gi-dev \
+
     python-gi-dev python3-venv python3-wheel \
    python3-venv \
+
    python3-wheel \
+
 
     ruby \
 
     ruby \
 
     w3m \
 
     w3m \
 
     xsltproc
 
     xsltproc
 +
 +
Added in 2020:
 +
    valac

Latest revision as of 12:35, 14 June 2020

The main GIMP building instructions are at Hacking:Building.

This page is for Linux-specific additions to that page.

Dependencies

GIMP depends on many packages in addition to babl, gegl, libmypaint and mypaint-brushes.

Gimp.org may change the requirements for each Gimp release. Gimp.org changes which packages are required. The package names generally do not change. Build options affect which packages are required.

This page lists dependencies for some linux distributions, on certain dates, with all build options enabled.

Ubuntu 19.10

Working in October 2019.

sudo apt install \
    libtool intltool \
    meson \
    asciidoc \
    exiv2 libgexiv2-dev \
    gjs \
    gtk-3-examples \
    gtk-doc-tools \
    jasper \
    libaa1-dev \
    libappstream-glib-dev \
    libarchive-dev \
    libavcodec-dev libavformat-dev libavutil-dev \
    libbz2-dev \
    libgs-dev \
    libgtk-3-dev libgtk2.0-dev gobject-introspection \
    libgirepository1.0-dev \
    libgudev-1.0-dev \
    libheif-dev \
    libjson-c-dev libjson-glib-dev \
    liblcms2-dev \
    liblensfun-dev \
    libmng-dev \
    libopenexr-dev \
    libjpeg-dev libopenjp2-7-dev \
    libpoppler-glib-dev \
    libraw-dev \
    librsvg2-bin librsvg2-dev \
    libsdl2-dev \
    libspiro-dev \
    libswscale-dev \
    libtiff-dev \
    libumfpack5 \
    libv4l-dev \
    libwebkit2gtk-4.0-dev \
    libwebp-dev \
    luajit \
    python-gi-dev python3-venv python3-wheel \
    ruby \
    w3m \
    xsltproc

Added in 2020:

    valac