1.2.3. Creating and Installing an RPM

Using the previous installation procedure has drawbacks when you want do uninstall or upgrade to a newer version. Maybe you rather want to benefit from the common mechanism provided by rpm. Before installing the library this way you need to create rpm packages which requires some developer tools like doxygen or docbook and a bit of experience in this matter.

This can be done by running the following commands in the top level directory of the source distribution:

 % make rpm
 % make src-dist

After completion you will receive two rpm packages: one for the library and the headers and one for the documentation. They are usually located at /usr/src/packages/RPMS or /usr/src/rpm/RPMS.