Fedora Linux Support Community & Resources Center
  #1  
Old 14th May 2011, 09:00 PM
Avestan Offline
Registered User
 
Join Date: May 2011
Posts: 7
windows_xp_2003firefox
Smile YUM versus RPM

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
  #2  
Old 14th May 2011, 09:53 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxredhatfirefox
Re: YUM versus RPM

Moved to EOL (End Of Life) Versions
  #3  
Old 14th May 2011, 10:08 PM
Avestan Offline
Registered User
 
Join Date: May 2011
Posts: 7
windows_xp_2003firefox
Re: YUM versus RPM

Hello leigh123linux,

I am not sure why you moved my posting to EOL Versions. What I have just posted is exactly what happens when I used Fedora 14. It is just the way Package Management YUM and RPM works in Fedora environment.

Thanks,

Avestan

Last edited by Avestan; 14th May 2011 at 10:10 PM.
  #4  
Old 14th May 2011, 10:11 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxredhatfirefox
Re: YUM versus RPM

Quote:
Originally Posted by Avestan View Post
Hello leigh123linux,

I am not sure why you moved my posting to EOL Versions. What I have just posted is exactly what happens when I used Fedora 14. It is just the way Package Management YUM and RPM works in Fedora environment.

Thanks,

Avestan

Hi,

Quote:
I am running Fedora 7 and have previously

F7 is EOL
  #5  
Old 14th May 2011, 11:17 PM
Avestan Offline
Registered User
 
Join Date: May 2011
Posts: 7
windows_xp_2003firefox
Smile Re: YUM versus RPM

leigh123linux,

The Fedora version has no effect on how YUM and RPM Package management works. I get the same result on my Fedora 12 and Fedora 14 box. The only difference would the version of the package that YUM is going to install which all goes back to repository stuff while using RPM Source file I can download and try any version of a package.

If the sentence, "I am running Fedora 7" is so much of the problem, I certainly can change it to "I am running Fedora 14".

The posting was not filed as a special feature or a bug for a particular version of Fedora. It was a general question to understand how people deal with the fact that there are number of package managements available to Fedora and they tend not to communicate with each other which could become problematic.

Thanks,

Avestan
  #6  
Old 15th May 2011, 12:16 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
linuxfedorafirefox
Re: YUM versus RPM

I don't know the answer to the question about the different installation locations for the different rpm packages. Sorry. But regarding the questions about yum and rpm, the rpm command checks for dependencies but does not handle them. That's okay if you know what you're doing and can gather up all of the required dependencies. In fact, the people that use Slackware like doing business that way. Otherwise, you can go quickly and straightly mad installing complex packages with rpm. Yum is a frontend to rpm and will handle dependencies for you. It's easier, obviously. I use rpm sometimes and yum most of the time. I never use any of the GUI package installer frontends. Lastly, yum deletes the rpm packages that it downloaded when the installation is complete unless you modify its config file to make it retain them (/etc/yum.conf). If you do that, you should develop some scheme for managing all of those packages or your partition may fill up with them.
  #7  
Old 15th May 2011, 12:22 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
linuxfedorafirefox
Re: YUM versus RPM

Closed. You went off and started another thread on this same subject matter while I was reading and posting in this one. See what happens when you double post? You wasted my time, man. Not only that, but double posting is a great way to get conflicting opinions without the benefit of discussion to resolve them. The result is more confusion. And oh yeah, the posting rules prohibit double posting. This needs to be your last fling with it.

If anybody wants to participate further in this, then go here....
http://forums.fedoraforum.org/showthread.php?t=262988
  #8  
Old 15th May 2011, 03:55 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxredhatfirefox
Re: YUM versus RPM

Quote:
Originally Posted by Avestan View Post
leigh123linux,

The Fedora version has no effect on how YUM and RPM Package management works. I get the same result on my Fedora 12 and Fedora 14 box. The only difference would the version of the package that YUM is going to install which all goes back to repository stuff while using RPM Source file I can download and try any version of a package.

If the sentence, "I am running Fedora 7" is so much of the problem, I certainly can change it to "I am running Fedora 14".

The posting was not filed as a special feature or a bug for a particular version of Fedora. It was a general question to understand how people deal with the fact that there are number of package managements available to Fedora and they tend not to communicate with each other which could become problematic.

Thanks,

Avestan


I'm not here to have my decisions questioned on open forum, do it again and I will issue a lifetime ban,

I suggest you read these before posying again.
Posting Rules
Closed Thread

Tags
rpm, versus, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC versus MDK? rathed9 Fedora Focus 9 12th July 2005 07:24 PM
KDE versus Gnome ravalox Linux Chat 5 4th July 2005 10:44 PM


Current GMT-time: 00:57 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat