LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-24-2003, 05:48 PM   #1
Silly22
LQ Newbie
 
Registered: Mar 2002
Location: Edmonton, AB
Distribution: Mandrake 10.2, Ubuntu 6.10
Posts: 26

Rep: Reputation: 15
Unhappy Installing using both RPM and compile from source


Hi everyone,

I have a noob question. What happens when you have a program that is already installed using RPM and then you install that program again via the configure, make, make install method? Let's say they're also the same version of the program. Will compiling from source and installing the application replace the application which was previously installed using RPM? Or will there be two copies of the program?

Sorry for the general way in which this question is posed. I'll elaborate if I don't get an answer.
 
Old 07-24-2003, 05:53 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
If you correctly ./configure the program then make install should overwrite the already installed binaries. I relied on this when installing Fluxbox. The 0.1.14 rpm set up the menu entry in my gui login screen, and then with ./configure --prefix=/usr (Mandrake and Redhat differ to other distros there) I overwrote the fluxbox binary with the latest releases.
Your rpm database will still think the original rpm file is installed, and I dunno if it runs file checks before running the uninstall script.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
compile apache source rpm with mod rewrite robertngo Linux - Software 3 07-21-2005 04:44 AM
installing source rpm Deer Linux - Newbie 1 09-25-2003 01:30 PM
need compilers, other stuff to dl, compile from source or rpm binaries - Mandrake 9.1 Kristal Mandriva 6 09-02-2003 11:03 PM
Installing software: RPM vs source tarballed Linux - Software 6 08-31-2003 03:58 PM
installing a source rpm Daem0hn Linux - General 2 07-18-2003 06:00 AM


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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration