Last active
April 11, 2017 06:49
-
-
Save lukrizal/42c4075d02dd78eabcb4 to your computer and use it in GitHub Desktop.
Install Inkscape CentOS 6.6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Make installation directory | |
mkdir -p ~/install/inkscape && cd ~/install/inkscape && \ | |
# Install necessary packages | |
sudo yum -y install bzr && bzr branch lp:inkscape && \ | |
sudo yum -y groupinstall "Development Tools" && \ | |
sudo yum -y install ImageMagick-c++-devel ImageMagick-c++ ImageMagick-devel ImageMagick glibmm24-devel libsigc++-devel gtkmm24-devel glibmm24 libsigc++ gtkmm24 intltool gc gc-devel lcms lcms-devel gsl gsl-devel libxml2-devel libxslt-devel boost-devel popt-static poppler-devel inkscape && \ | |
# Install autoconf | |
cd ~ && \ | |
mkdir -p install/autoconf && \ | |
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.64.tar.gz && \ | |
tar xzf autoconf-2.64.tar.gz && \ | |
cd autoconf-2.64 && \ | |
./configure --prefix=/usr && \ | |
make && sudo make install && \ | |
cd ~ && \ | |
mkdir -p install/boehm-gc && \ | |
cd ~/install/boehm-gc && \ | |
wget http://www.hboehm.info/gc/gc_source/gc6.8.tar.gz && \ | |
tar zxf gc6.8.tar.gz && cd gc6.8 && \ | |
./configure --disable-shared --enable-static && make && \ | |
sudo make install && echo "Boehm-GC installed!" && \ | |
# Do installation | |
cd ~/install/inkscape/inkscape && \ | |
./autogen.sh && \ | |
./configure && make && \ | |
sudo make install && \ | |
which inkscape && echo "Installation completed!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The latest 0.92.x code required cairo-1.10.0 and cairomm 1.9.8 as well.