Skip to content

Instantly share code, notes, and snippets.

@jeffkayser
Last active September 5, 2016 22:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jeffkayser/4637089d3c11546e6d4f to your computer and use it in GitHub Desktop.
Save jeffkayser/4637089d3c11546e6d4f to your computer and use it in GitHub Desktop.
Compiling Inkscape 0.91 on Linux Mint Debian Edition (LMDE) 2

Compiling Inkscape 0.91 on Linux Mint Debian Edition (LMDE) 2

Summary

Even the latest versions of Linux I've been using recently (Linux Mint, elementary OS) didn't seem to have the newest stable release of Inkscape in their repos, so I went ahead and compiled it myself.

Process

Install dependencies

sudo apt-get install build-essential intltool libfreetype6-dev liblcms2-dev \
libgc-dev libglibmm-2.4-dev libgsl0-dev libxml2-dev libxslt1-dev libcairo2-dev \
libcairomm-1.0-dev libpangomm-1.4-dev libpango1.0-dev libpangoft2-1.0-0 \
libgtkmm-2.4-dev libboost-dev libpopt-dev

Download and extract Inkscape source

cd ~/Downloads
wget https://inkscape.org/en/gallery/item/3860/inkscape-0.91.tar.bz2
tar xf inkscape-0.91.tar.bz2
cd inkscape-0.91

Compile

./configure && make

Note: configure should not fail, but if it does, it's pretty trivial (if tedious) to track down what dependency is required. Googling the error message is often enough; then sudo apt-get install <LIBRARY-NAME> and re-run configure until it works.

Compilation took about 15-20 minutes on a 2013 Macbook Pro running the linux VM in Parallels. Dedicating more CPUs to the VM and running the following should speed it up a bit:

make -j `getconf _NPROCESSORS_ONLN`

Install

sudo make install

Run

inkscape &

Verify the version by going to Help | About.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment