GhostScript upgrade for Amazon Ec2-linx

1) SSH into instance

2) Now as root user

  • sudo su
  • sudo make install
  • make soinstall && install -v -m644 base/*.h /usr/include/ghostscript && ln -v -s ghostscript /usr/include/ps
  • ln -sfv ../ghostscript/9.14/doc /usr/share/doc/ghostscript-9.14
  • wget
  • tar -xvzf ghostscript-fonts-std-8.11.tar.gz
  • tar -xvf ghostscript-fonts-std-8.11.tar.gz -C /usr/share/ghostscript –no-same-owner && fc-cache -v /usr/share/ghostscript/fonts/

3) Now check ghostscript version

  • Ghostscript
  • gs –v

Please let me know if anyone need more information on this.


3 thoughts on “GhostScript upgrade for Amazon Ec2-linx

  1. I’ve attempted your tutorial with errors:

    [root@##-#-#-### ghostscript-9.14]# tar -xvf ghostscript-fonts-std-8.11.tar.gz -C /usr/share/ghostscript -no-same-owner && fc-cache -v /usr/share/ghostscript/fonts/
    tar: –: (PROGRAM ERROR) Option should have been recognized!?
    Try `tar –help’ or `tar –usage’ for more information.
    [root@##-#-#-### ghostscript-9.14]#

    Additional warning appeared during ghostscript install, though I ignored them.

    Either way gs doesn’t seem to have been install:

    [root@i##-#-#-### ghostscript-9.14]# gs -v
    bash: gs: command not found

    Does the server require rebooting? Any direction is appreciated. Thanks!

  2. Keith Zimmerman says:

    These instructions saved me! WARNING: Some dashes in the instructions are actually double dashes, but formatting within this site changed them to single dashes:

    This line:
    ./configure –prefix=/usr –disable-compile-inits –enable-dynamic –with-system-libtiff && make

    should have all of its options as double dashes:

    ./configure –prefix=/usr –disable-compile-inits –enable-dynamic –with-system-libtiff && make

    and this line:

    tar -xvf ghostscript-fonts-std-8.11.tar.gz -C /usr/share/ghostscript –no-same-owner && fc-cache -v /usr/share/ghostscript/fonts/

    should have the no-same-owner option with double dashes, i.e. –no-same-owner:

    tar -xvf ghostscript-fonts-std-8.11.tar.gz -C /usr/share/ghostscript –no-same-owner && fc-cache -v /usr/share/ghostscript/fonts/

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s