Skip to content

Instantly share code, notes, and snippets.

@Omnipresent
Forked from masbog/libgs_install.sh
Created April 3, 2016 13:59
Show Gist options
  • Save Omnipresent/e93a30ad3000eec8118058cf61a818fa to your computer and use it in GitHub Desktop.
Save Omnipresent/e93a30ad3000eec8118058cf61a818fa 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