LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2004, 04:23 AM   #1
abrb220
Member
 
Registered: Jul 2003
Location: Roodepoort South Africa
Distribution: Redhat / Suse
Posts: 39

Rep: Reputation: 15
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
 
Old 03-18-2004, 05:12 AM   #2
MunterMan
Member
 
Registered: Nov 2003
Location: The North of England
Distribution: Suse 10.3
Posts: 172

Rep: Reputation: 30
To rebuild your rpm database type

rpm --rebuilddb

and wait, it takes a while to finish.
 
Old 03-18-2004, 08:31 AM   #3
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
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
 
Old 03-18-2004, 09:35 AM   #4
abrb220
Member
 
Registered: Jul 2003
Location: Roodepoort South Africa
Distribution: Redhat / Suse
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks
I got checkinstall and it works very nicely....

Word..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rebuild rpm database robertngo Red Hat 2 06-25-2005 02:31 PM
Can't rebuild RPM database tawalker Linux - Software 3 04-22-2004 04:17 AM
RPM database problems - can't rebuild Ross Clement Red Hat 4 10-21-2003 12:35 PM
RPM Database Rebuild monte Linux - Distributions 3 09-25-2003 04:22 PM
RPM Database Rebuild monte Linux - Newbie 1 05-20-2003 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration