Hello everyone,
I am running Fedora 7 and have previously used "YUM" to install Heartbeat. This resulted in installation of "heartbeat-2.0.8" with its dependencies. The paths that the heartbeat installation is carried under is:
/usr/lib/
/usr/share/doc/
/usr/var/lib/
/usr/var/run/
/usr/etc/
As the STONITH of the heartbeat is written for AP9221 and I am using AP9225, I had to modified the source code. Consequently, I downloaded the source codes from RPM pbone Net.
I made the changes to the STONITH files which now works with my AP9225. When I used the RPM Sources files to install the heartbeat, I realize that the installation is done in the following paths:
/usr/local/lib/
/usr/local/share/doc/
/usr/local/var/lib/
/usr/local/var/run/
/usr/local/etc/
Consequently, I have ended up with Two Heartbeat installations.
If I understand correctly, YUM uses RPM for installation and it actually downloads the RPM Source files and place them in a temporary folder:
/var/cache/yum
I checked this folder and I am not seeing any heartbeat RPM Source file which is used for the installation.
I also notice that the RPM doen't know about the YUM installation and likewise the YUM doesn't know about the RPM installation which is another issue.
Can someone shade some light on this and advice what is the best way to deal with these kind of situations.
In my case, when I started using Fedora, I started using YUM as it was taking care of dependencies and as a newbie made my life vary easy. Now, as I am finding my way around linux much better, I find RPM a more powerful and I am kind of leaning towards it for software installation.
Thanks,
Avestan