su - to login as root.
Throughout this document statements such as "as root" will be made to remind you
that you must be logged in as root to execute a command.
rm -f /usr/bin/java to remove the GNU Java
virtual machine
from your path (this has no effect if you do not have the GNU Java
compiler or any other Java compiler in that location). Note that this is a
symbolic link, and it can be recreated later to restore the use of the Java
virtual machine that comes with Fedora.
sh jdk-6u2-linux-i586-rpm.bin in the
directory where you downloaded Java (JDK). Replace the name
jdk-6u2-linux-i586-rpm.bin with the name of your
downloaded file.
/usr/local/.
Using a command like cd /usr/local/
tar zxf pet.tgz.
You must replace pet.tgz with the location of your pet.tgz
file.
There should
now be a directory named /usr/local/pet.
yum install gtk2-devel
yum install libglade2-devel
yum install
expat-devel
yum
install gcc gcc-c++.
cd /usr/local/pet
export
J2SDK=/usr/java/default.
make -e perl_modules
Note that this command takes less than 10 minutes on a fast machine and
could take up to an hour on a slow machine. Please be patient.
cd
/usr/local/bin
ln -s
/usr/local/pet/pet.sh pet
pet as any user in any
directory. You may need to log out and log back in after following these
instructions to ensure all changes take effect.
For questions and comments email
Jason Zwolak.
* A Fortran compiler is not necessary to run PET, but it is necessary to simulate models and estimate parameters within PET.