Skip Navigation

Sign up

If you sign up for an account on this web site you can customise elements of this site and subscribe to an email newsletter.

If you have an account on this web site you may login.

If you have an account on this site but have forgotten your user name and / or your password then you can request an account reminder email.

Jpackage on FC3

The Jpackage project has RPMs for lots of Free Java packages and also SRPMs that you can build against various non-Free packages like Java from Sun.

This page is to documents installing the required depandancies for MKSearch on Fedora Core 3.

Lines in the examples that start with a $ prompt are things you you can do as a normal user, lines that start with a # are things that have to be done by root, of course when copying and pasting these instrcutions you don't need to copy the $ or the #!

Configuring Yum

The first thing to do is to either configure Yum (which comes with FC3) to get the Free Jpackage packages or configure Apt (which comes from other repos such as Freshrpms) - you don't need to configure both, if you are not sure which to use then Yum is probably best. The Jpackage site has Apt and Yum configuration instructions, or you can follow the short Yum instructions that have been taken from there.

GPG

To ensure that the packages you install are not corrupted you first need to install the Jpackage GPG key. You can download the key as a normal user but you need to install it as root:

  $ cd /tmp/
  $ wget http://jpackage.org/jpackage.asc
  $ su
  # rpm --import jpackage.asc

Yum

It is simply a matter of downloading the jpackage.repo list and installing it as root:

  $ cd /tmp/
  $ wget http://jpackage.org/jpackage.repo
  $ su
  # mv jpackage.repo /etc/yum.repos.d/

You can then run yum update to update the list of available packages.

Installing Packages

3 key packages that are required are tomcat5, ant and junit, so start by trying to install these.

  # yum install tomcat5
  Error: missing dep: jta >= 0:1.0.1-0.a.1 for pkg tomcat5
  Error: missing dep: j2sdk = 2000:1.4.2_06-fcs for pkg java-1.4.2-sun-compat

Since tomcat5 depends on non-Free packages, jta and j2sdk the install has failed to complete, so the next thing to do is to install these non-Free packages.

jta

Up

This document was last modified by Chris Croome on 2005-01-24 05:05:32
Copyright MKDoc Ltd. and others.
The Free Documentation License http://www.gnu.org/copyleft/fdl.html