| Home Up |
on: 21 Nov 2002 RPM on MacOS XPreparationFirst you need to install rpm from a tarball. If you have not yet activated the root account, activate it by following the instruction given here so that you can "su" to root.# su The "rpm" relies on its own database for inter-dependencies of packages installed as RPMs. In particular it checks the existence of required shared libraries on your system. The problem is that those shared libraries should be registered into the database: it does not matter, as far as the dependency checking is concerned, whether they actually exist or not. Another problem is that the "rpm" command itself depends on some other packages. Installing the following RPMs will solve such problems. # rpm -Uvh RPMS/ppc/system-10.2-1b.ppc.rpm --nodeps In addition, the following RPMs will be needed in many packages: # rpm -Uvh RPMS/ppc/dlcompat-20021001-1a.ppc.rpm Now various rpm facilities should be usable. Optionally you can reinstall the "rpm" command itself from RPMs: # rpm -ivh RPMS/ppc/popt-1.6.2-0.34e.ppc.rpm If you have previous 10.1 packages installed, you may want to uninstall redundant ones:
Basic UsageQuery$ rpm -qa # to see list of all that installed Installation / Uninstallation$ rpm -ivh bar-1.0-1a.ppc.rpm # to install "bar-1.0-1a" Update Record2001/04/02 Release 0.34w: rpm version 4.0.2 built on MacOS X Public Beta2001/04/21 Release 0.34a: rpm version 4.0.2 built on MacOS X Release 10.0.01 with some bug fixes:
2001/10/12 Release 0.34c: rpm version 4.0.2 built on MacOS X Release 10.1. You do not need to update RPMs for 10.0.X including those for the rpm itself. 2002/10/14 Release 0.34e: rpm version 4.0.2 built on MacOS X Release 10.2.
macosx/10.2.X Back to Keisuke Fujii's HEP on X Page fujiik@jlcuxf.kek.jp October 16, 2002 Last updated: Thu, 21 Nov 2002 22:56:45 -0500 |