Unix Solaris 10
2. Create a temporary directory for all downloaded files.
3. Use the gunzip command to unzip each archive:
gunzip zlib-1.2.3-sol10-sparc-local.gz
gunzip libpng-1.2.8-sol10-sparc-local.gz
gunzip jpeg-6b-sol10-sparc-local.gz
gunzip ghostscript-8.14-sol10-sparc-local.gz (not recommended)
gunzip tiff-3.7.4-sol10-sparc-local.gz
4. Use the gunzip command to unzip the Ghostscript font archive and create a fonts directory with the contents of the archive.
gzip -dc ghostscript-fonts-std-8.11.tar.gz | tar -xf -
5. Use the gunzip command to unzip the ImageMagick package and create an ImageMagick-6.2.7 directory with the contents of the archive.
gzip -dc ImageMagick-sparc-sun-solaris2.10.tar.gz | tar -xf -
6. Create an installation script similar to the following:
====================================================
#!/bin/sh
# install support libraries
pkgadd -d zlib-1.2.3-sol10-sparc-local
pkgadd -d libpng-1.2.8-sol10-sparc-local
pkgadd -d libgcc-3.3-sol10-sparc-local
pkgadd -d jpeg-6b-sol10-sparc-local
pkgadd -d tiff-3.7.4-sol10-sparc-local
# install GhostScript
pkgadd -d ghostscript-8.14-sol10-sparc-local
# install GhostScript Fonts
cp -r fonts /usr/local/share/ghostscript/
# install ImageMagick
cp -r ImageMagick-6.2.7/* /usr/local/*
====================================================
|
You can copy this script and modify it as needed for your environment. Copying directly from this document might introduce extra spaces or characters.
|
7. For ImageMagick to work properly on Unix, change the following environment variables in the user’s profile in the .cshrc file under the Windchill account:
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
PATH=/usr/local/bin:$PATH
MAGICK_HOME=/usr/local
GS_FONTPATH=/usr/openwin/lib/X11/fonts/Type1/outline
GS_LIB=/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/
lib/X11/fonts/Type3:/usr/local/share/ghostscript/fonts
8. To validate your installation, enter the convert- and gs - commands.
◦ The convert- command produces the usage statement for the convert command.
◦ The gs - command causes the Ghostscript interpreter window to appear.
9. To display the list of supported file types that ImageMagick can support, enter the following command:
/usr/local/bin/identify -list format
10. To perform command-line validation of the ImageMagick and Ghostscript tools, add the preceding environment variables to your profile. These variables ensure proper execution and performance of each command.