As of release 6.8.0, RPMs are available for 32 and 64-bit Linux systems, and a pre-built binary tarball for SunOS 32-bit (x86) is also avakilable. If you encounter errors during the install or when running GEMPAK programs in the binary package, you may need to build from source.:
Create a gempak user:
useradd gempak
create a group ustaff and add gempack to that group:
> echo ustaff:x:505:gempak >> /etc/group
As root or with super-user (sudo) privilege, the RPM can be installed with the command
> rpm -ivh gempak-6.8.0-1.x86_64.rpm
if it complaint use this command to install the neaded package:
yum install xorg-x11-xbitmaps
the rpm command will create the directory /home/gempak/GEMPAK7 If you wish to install GEMPAK to another location, use the --prefix option with rpm:
rpm -ivh gempak-6.8.0-1.x86_64.rpm --prefix /usr/local/gempak
For SunOS 32-bit (x86), the binary package is distributed as a tarball, which, if uncompressed in /home/gempak, will create the directory /home/gempak/GEMPAK6.8.0:
Note that if you use --prefix to install the RPM, you will need to verify that NAWIPS->GEMPAK6.8.0 and that GEMPAK6.8.0/Gemenviron (and/or Gemenviron.profile) point $NAWIPS to the true location of GEMPAK
bash: add the following to .bash_profile:
> echo '. /home/gempak/NAWIPS/Gemenviron.profile' >> .bash_profile