LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing using both RPM and compile from source (https://www.linuxquestions.org/questions/linux-newbie-8/installing-using-both-rpm-and-compile-from-source-75606/)

Silly22 07-24-2003 04:48 PM

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.

Proud 07-24-2003 04:53 PM

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.


All times are GMT -5. The time now is 04:59 PM.