2.2. Install rpm packages

To install the binary package, you can use:

bash# rpm -ivh lkcdutils-4.0-1.i386.rpm 
    

This should install lcrash properly. No further installation steps are required.

Installation of source rpm is done using:

bash# rpm -ihv lkcdutils-4.0-1.src.rpm 
    

This should install lkcdutils-4.0-1.tar.gz and lkcdutils.spec somewhere under /usr/src. On my SuSE system the files are saved under /usr/src/packages/SOURCES/ and /usr/src/packages/SPECS/.

Now you can build and install lkcdutils using:

bash# cd /usr/src/packages/SPECS/
bash# rpm -bi lkcdutils.spec 
    

Lcrash should know be built and installed properly as /sbin/lcrash. The lkcdutils source tree, which contains the lcrash sources, can be found under /usr/src/packages/BUILD/lkcdutils-4.0/.