LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to rebuild rpm database to include source installs (https://www.linuxquestions.org/questions/linux-software-2/how-to-rebuild-rpm-database-to-include-source-installs-159314/)

abrb220 03-18-2004 04:23 AM

How to rebuild rpm database to include source installs
 
'ello

I just installed a libfrom a tar.gz file, as another rpm package I am trying to install is dependant on this lib.How can I now get this lib into the rpm database so that the rpm depedency check
for this library succeeds.

Many thanks

MunterMan 03-18-2004 05:12 AM

To rebuild your rpm database type

rpm --rebuilddb

and wait, it takes a while to finish.

Cerbere 03-18-2004 08:31 AM

Or you can use checkinstall. It replaces the 'make install' step when compiling from source, and creates a RPM (or Slack or Debian package). This has the added benefit of giving you a more reliable way to uninstall (just in case the 'make uninstall' isn't well-behaved).

Enjoy!
--- Cerbere

abrb220 03-18-2004 09:35 AM

Thanks
I got checkinstall and it works very nicely....

Word..


All times are GMT -5. The time now is 10:37 AM.