Re: [ILUG] Packaging systems and installing closed-source apps on Debian

From: David Neary (dneary at domain wanadoo.fr)
Date: Tue 10 Sep 2002 - 13:14:56 IST


Andrew Kemmy wrote:
> Summary: "alien -c package.rpm ; dpkg -i package.deb" works sometimes.

Summary: Using RPM for RPMs is better

> IBM jdk[1]

This and DB2 are the apps I have experience with for this...

> I'd just like to get feedback on the approaches folks have to these
> sort of issues.

The DB2 install is the way I would gpo - there is a DB2 HOWTO
which has most of the information you'll need.

Basically here's what I found to be the best approach...
1) Install RPM 4.0.x on your debian system (it should be
available as a .deb - if not, the source is on
sources.redhat.com)
2) Download the RPMs you're interested in.
3) Initiate the rpm database (you'll get errors about some
directories & files being missing - mkdir & touch sort the
problems out) with rpm --initdb.
4) Try and install the RPM, and check that you actually have all
the required dependencies when it fails.
5) Install the rpm with --nodeps

This approach is the one reccommended for DB2, and I can testify
that it works. It also works well for the IBM JDK. There are some
wrinkles which are documented in the DB2 howto for those
particular apps (the DB2 howto is available at
http://www.tldp.org/HOWTO/DB2-HOWTO/, the "rpm on non-rpm systems"
bits are in section 5).

Hope this helps,
Dave Neary.

-- 
       David Neary,
    Marseille, France
  E-Mail: bolsh at domain gimp.org


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:18:45 GMT