Last active
May 25, 2017 07:53
-
-
Save chvck/2c11538691fc3a256f8407154c37f5bb to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
GHOSTCRIPT_VER=9.21 | |
wget https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/ghostscript-$GHOSTCRIPT_VER.tar.gz | |
tar -xvzf ghostscript-$GHOSTCRIPT_VER.tar.gz | |
rm ghostscript-$GHOSTCRIPT_VER.tar.gz | |
cd ghostscript-$GHOSTCRIPT_VER | |
./configure | |
make | |
sudo make install | |
sudo rm /usr/bin/gs | |
sudo ln -s /usr/local/bin/gs /usr/bin/gs | |
cd .. | |
rm -rf ghostscript-$GHOSTCRIPT_VER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment