RpmDistros
Installing PyKota on RPM-Based Distributions
Pre-requisites
Like all good Open Source Software, PyKota relies on other software to do its job. Much of this software is available via Fedora Extras (Karanbir Singh's Fedora Extras repository for RHEL4/CentOS4?). All packages needed from Fedora Extras I have assumed you will get from there or rebuild yourself. See http://centos.karan.org/ for more details on Karanbir's repository.
The remainder of the RPMs?, with one exception, are provided as a Yum repository by Matt Hyclak. See http://www.math.ohiou.edu/pub/casit/pykota for more details.
The one exception is ghostpcl, which is not permitted to be distributed in association with a commercial distribution. To avoid any possible legal conflicts, a .nosrc.rpm is provided both in the SRPMS directories of http://www.math.ohiou.edu/pub/casit/pykota. Before attempting to install pykota, you should download the GhostPCL? source code from ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/GhostPCL/ and rebuild and install the ghostpcl rpm.
PyKota
PyKota is provided as several packages. There is a common package, one for each backend, and a couple of other support packages such as osd. You MUST install AT LEAST ONE backend (postgres, mysql, ldap or sqlite) in order for PyKota to function. If you wish to use any additional features (such as on screen display), install those packages as well.
Performing the install
The best way to proceed with the installation of PyKota via RPM is the following:
-
Rebuild and install the GhostPCL? RPM on the system (see http://www.jpackage.org/nosrc.php for help)
-
Download the PyKota RPM, at least one PyKota backend RPM, and any additional support RPMs? from http://www.pykota.com/software/pykota/download/tarballs/
-
Enable the PyKota prereq repository in your yum configuration (see http://www.math.ohiou.edu/pub/casit/pykota/pykota-readme.txt)
-
Run the command yum localinstall pykota-*.rpm
Yum should pull in any dependencies from the repository as well as install the pykota RPMs? you have downloaded.
unsigned package? --takeyasu, Thu, 12 Jul 2007 20:20:21 +0200
When doing the last step yum downloads the dependencies. It then stops, with the error: Package python-jaxml-3.01-2.fc6.mrh.i386.rpm is not signed
For now I set gpgcheck=0 in /etc/yum.repos.d/mrh-pykota-fc.repo. Is there a better solution? What GPGkey? do these packages use?
Signed Packages --mhyclak, Tue, 31 Jul 2007 14:21:33 +0200
I corrected the signed package problem. I sign them with my own key which is available at http://www.math.ohiou.edu/pub/casit/RPM-GPG-KEY-casit
fc7 unsigned packages --aidan@loyns.net, Thu, 06 Sep 2007 11:19:26 +0200
hacing problems with the fc7 versions not being signed
