Last active
September 23, 2020 17:41
-
-
Save digitalm/ac809eaac12f9899e5a60a17e5453520 to your computer and use it in GitHub Desktop.
Installing Ghostscript 9.23 ( to Amazon linux )
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
## to install | |
cd /usr/local/src/ | |
wget https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923/ghostscript-9.23.tar.gz | |
tar -zxvf ghostscript-9.23.tar.gz | |
cd ghostscript-9.23 | |
./configure --disable-compile-inits --with-x --with-drivers=ALL --without-luratech --with-libiconv=gnu --prefix=/usr/local | |
make | |
make install | |
## to uninstall | |
# NOTE: we cannnot call `make uninstall` | |
sudo rm -rf /usr/local/bin/dvipdf | |
sudo rm -rf /usr/local/bin/eps2eps | |
sudo rm -rf /usr/local/bin/font2c | |
sudo rm -rf /usr/local/bin/gs | |
sudo rm -rf /usr/local/bin/gsbj | |
sudo rm -rf /usr/local/bin/gsdj | |
sudo rm -rf /usr/local/bin/gsdj500 | |
sudo rm -rf /usr/local/bin/gslj | |
sudo rm -rf /usr/local/bin/gslp | |
sudo rm -rf /usr/local/bin/gsnd | |
sudo rm -rf /usr/local/bin/lprsetup.sh | |
sudo rm -rf /usr/local/bin/pdf2dsc | |
sudo rm -rf /usr/local/bin/pdf2ps | |
sudo rm -rf /usr/local/bin/pf2afm | |
sudo rm -rf /usr/local/bin/pfbtopfa | |
sudo rm -rf /usr/local/bin/pphs | |
sudo rm -rf /usr/local/bin/printafm | |
sudo rm -rf /usr/local/bin/ps2ascii | |
sudo rm -rf /usr/local/bin/ps2epsi | |
sudo rm -rf /usr/local/bin/ps2pdf | |
sudo rm -rf /usr/local/bin/ps2pdf12 | |
sudo rm -rf /usr/local/bin/ps2pdf13 | |
sudo rm -rf /usr/local/bin/ps2pdf14 | |
sudo rm -rf /usr/local/bin/ps2pdfwr | |
sudo rm -rf /usr/local/bin/ps2ps | |
sudo rm -rf /usr/local/bin/ps2ps2 | |
sudo rm -rf /usr/local/bin/unix-lpr.sh | |
sudo rm -rf /usr/local/share/ghostscript | |
sudo rm -rf /usr/local/share/man/de/man1/dvipdf.1 | |
sudo rm -rf /usr/local/share/man/de/man1/eps2eps.1 | |
sudo rm -rf /usr/local/share/man/de/man1/font2c.1 | |
sudo rm -rf /usr/local/share/man/de/man1/gsnd.1 | |
sudo rm -rf /usr/local/share/man/de/man1/pdf2dsc.1 | |
sudo rm -rf /usr/local/share/man/de/man1/pdf2ps.1 | |
sudo rm -rf /usr/local/share/man/de/man1/printafm.1 | |
sudo rm -rf /usr/local/share/man/de/man1/ps2ascii.1 | |
sudo rm -rf /usr/local/share/man/de/man1/ps2pdf.1 | |
sudo rm -rf /usr/local/share/man/de/man1/ps2pdf12.1 | |
sudo rm -rf /usr/local/share/man/de/man1/ps2pdf13.1 | |
sudo rm -rf /usr/local/share/man/de/man1/ps2pdf14.1 | |
sudo rm -rf /usr/local/share/man/de/man1/ps2ps.1 | |
sudo rm -rf /usr/local/share/man/man1/dvipdf.1 | |
sudo rm -rf /usr/local/share/man/man1/eps2eps.1 | |
sudo rm -rf /usr/local/share/man/man1/font2c.1 | |
sudo rm -rf /usr/local/share/man/man1/gs.1 | |
sudo rm -rf /usr/local/share/man/man1/gsbj.1 | |
sudo rm -rf /usr/local/share/man/man1/gsdj.1 | |
sudo rm -rf /usr/local/share/man/man1/gsdj500.1 | |
sudo rm -rf /usr/local/share/man/man1/gslj.1 | |
sudo rm -rf /usr/local/share/man/man1/gslp.1 | |
sudo rm -rf /usr/local/share/man/man1/gsnd.1 | |
sudo rm -rf /usr/local/share/man/man1/pdf2dsc.1 | |
sudo rm -rf /usr/local/share/man/man1/pdf2ps.1 | |
sudo rm -rf /usr/local/share/man/man1/pf2afm.1 | |
sudo rm -rf /usr/local/share/man/man1/pfbtopfa.1 | |
sudo rm -rf /usr/local/share/man/man1/printafm.1 | |
sudo rm -rf /usr/local/share/man/man1/ps2ascii.1 | |
sudo rm -rf /usr/local/share/man/man1/ps2epsi.1 | |
sudo rm -rf /usr/local/share/man/man1/ps2pdf.1 | |
sudo rm -rf /usr/local/share/man/man1/ps2pdf12.1 | |
sudo rm -rf /usr/local/share/man/man1/ps2pdf13.1 | |
sudo rm -rf /usr/local/share/man/man1/ps2pdf14.1 | |
sudo rm -rf /usr/local/share/man/man1/ps2pdfwr.1 | |
sudo rm -rf /usr/local/share/man/man1/ps2ps.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment