You must be root to accomplish the next steps.
You must then untar the package from the root directory. Here are the instructions for doing so:
cd / tar zxvpf /home/wolf/rpm-2.4.5-1.i386.tar.gz
Of course, replace the /home/wolf with the correct path for the filename.
Next, you have to create a directory called « rpm » under the /var/lib tree.
mkdir /var/lib/rpm
Now type ‘rpm –initdb’ to initialize the rpm database.
If everything has gone correctly up to this point, you will have a rpm-capable system! Test it out by grabbing any rpm file and installing it with ‘rpm -Uvh filename.rpm’