Skip to content

Instantly share code, notes, and snippets.

@masbog
Created June 17, 2014 07:50
Show Gist options
  • Save masbog/a84e9122f9bca6b83e47 to your computer and use it in GitHub Desktop.
Save masbog/a84e9122f9bca6b83e47 to your computer and use it in GitHub Desktop.
Installing ghostscript 9 CentOS 6.5 with shared Library
curl -O http://downloads.ghostscript.com/public/ghostscript-9.14.tar.gz &&
tar -xzf ghostscript-9.14.tar.gz &&
cd ghostscript-9.14 &&
./configure &&
make install &&
make so &&
cp ghostscript-9.14/sobin/libgs.so.9.14 /usr/lib &&
ln -s /usr/lib/libgs.so.9.14 /usr/lib/libgs.so &&
mkdir -p /etc/ld.so.conf.d/ &&
echo "/usr/lib/libgs.so" > /etc/ld.so.conf.d/libgs.conf &&
ldconfig &&
echo "Installing ghostscript finish" &&
gs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment