Dear Centos community, I am new to centos/redhat and I would like to know on a centos system, can I use yum alone to do all package management? I don't want to learn two systems and confuse myself, I understand yum is much better than rpm if is the case? Thank you! Jim
On Sat, 13 Feb 2010, Jim Green wrote:> Dear Centos community, I am new to centos/redhat and I would like to > know on a centos system, can I use yum alone to do all package > management? I don't want to learn two systems and confuse myself, I > understand yum is much better than rpm if is the case?yum is simply a layer built on top of rpm. it's nice if you can do everything you want with yum, but it doesn't hurt to learn the basics of rpm anyway. rday -- =======================================================================Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, Training and Kernel Pedantry. Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday ========================================================================
On Sat, 2010-02-13 at 10:00 -0600, Jim Green wrote:> Dear Centos community, > I am new to centos/redhat and I would like to know on a centos system, > can I use yum alone to do all package management? I don't want to learn > two systems and confuse myself, I understand yum is much better than > rpm if is the case?I expect that you will get a bunch of replies on this. The short form is that yum lives on TOP of RPM. It is not a replacement for RPM. Yum does most of the thinking for you as far as dependency management. It is much more user-friendly, and is the preferred mechanism for software installation and maintenance because it does the dependency resolution for you, and saves much in the way of headaches, elevated stress, confusion, and RSI from excessive keyboard use. All that being said, there are times when you do want to use RPM by itself, without Yum. If you stay with CentOS and/or RedHat long enough, you will run across this situation now and then.> > Thank you! > > Jim > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos-- Ron Loftin reloftin at twcny.rr.com "God, root, what is difference ?" Piter from UserFriendly
At Sat, 13 Feb 2010 10:00:14 -0600 CentOS mailing list <centos at centos.org> wrote:> > Dear Centos community, > I am new to centos/redhat and I would like to know on a centos system, > can I use yum alone to do all package management? I don't want to learn > two systems and confuse myself, I understand yum is much better than > rpm if is the case?yum is layered on top of RPM. That is, yum uses rpm itself to actually manage packages. yum adds several additional features/functions: 1) It deals with dependencies (rpm only complains about dependencies, but makes no attempt on its own to resolve dependencies). 2) It deals with updates from one (or more) repositories. A repository is a collection of RPMs, from which updates and/or dependencies can be resolved as well as a source of packages to install.> > Thank you! > > Jim > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >-- Robert Heller -- 978-544-6933 Deepwoods Software -- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows heller at deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/