# suNow various rpm facilities should be usable.
# gnutar -zxvf tgz/rpm-4.0.2-0.34b-bin.tar.gz -C /
# setenv PATH $PATH\:/usr/local/bin
# rpm --initdb
Optionally you can reinstall the RPM itself from rpms:
# rpm -ivh RPMS/ppc/bash-2.03-2a.ppc.rpm
# rpm -ivh RPMS/ppc/bzip2*-1.0.1-3b.ppc.rpm
# rpm -ivh RPMS/ppc/ncurses*-5.0-10b.ppc.rpm
# rpm -ivh RPMS/ppc/readline*-4.1-8b.ppc.rpm
# rpm -ivh RPMS/ppc/info-4.0-2a.ppc.rpm
# rpm -ivh RPMS/ppc/texinfo-4.0-2a.ppc.rpm
# rpm -ivh RPMS/ppc/db3*-3.2.9-2a.ppc.rpm
# rpm -ivh RPMS/ppc/popt-1.6.2-0.34c.ppc.rpm
# rpm -ivh RPMS/ppc/rpm*-4.0.2-0.34c.ppc.rpm
$ rpm -qa # to see list of all that installed
$ rpm -qi foo # to get infomation on an installed package "foo"
$ rpm -ql foo # to see list of files belonging to "foo"
$ rpm -qpi bar-1.0-1a.ppc.rpm # to get information on a pre-installed rpm package
$ rpm -qpl bar-1.0-1a.ppc.rpm # to see list of files belonging to "bar-1.0-1a"
$ rpm -qf <filename> # to check what RPM package owns the file
$ rpm -ivh bar-1.0-1a.ppc.rpm # to install "bar-1.0-1a"
$ rpm -Uvh foo-1.0-2a.ppc.rpm # to update "foo"
$ rpm -Uvh --oldpackage foo-1.0-1a.ppc.rpm # to revert this
$ rpm -e foo # to eliminate "foo"