Gang, I've got to admit, what really sold me on debian was apt-get. And I've been resisting getting up to speed with yum. So, can any of ya point me to a good starter page, maybe one with migrators like me in mind? Many thanks. -- Robert Thomas ("beau") Hayes Link Open your heart, pray for peace, preach healing (c)2004ISR http://www.semanticrestructuring.com/
http://www.linuxgazette.com/node/8835 This is what I needed; hope it's good for the lurkers... On Mon, 6 Dec 2004 11:57:54 -0800, beau <phaedral at gmail.com> wrote:> Gang, > > I've got to admit, what really sold me on debian was apt-get. And > I've been resisting getting up to speed with yum. So, can any of ya > point me to a good starter page, maybe one with migrators like me in > mind? Many thanks. > > -- > Robert Thomas ("beau") Hayes Link > Open your heart, pray for peace, preach healing > (c)2004ISR http://www.semanticrestructuring.com/ >-- Robert Thomas ("beau") Hayes Link Open your heart, pray for peace, preach healing (c)2004ISR http://www.semanticrestructuring.com/
Beau, Most everything you could need to know is in the man pages for yum. If you have specific questions not answered by the man pages, please feel free to ask me for my experiences, Seth (who wrote the thing so should be able to answer *anything* about it), or the list. I'm actually a Debian developer myself, but we're using CentOS at work, and I find yum quite comfortable (and a good deal less complex than apt for setting up and maintaining local repositories). I've recently implemented the use of the yumgroups.xml file to define groups of packages for installation on different classes of machines. It works very well (provided you make sure that all the important files are actually readable!). Claire -- *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Claire Connelly cmc at math.hmc.edu Systems Administrator (909) 621-8754 Department of Mathematics Harvey Mudd College *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20041207/dc64afbb/attachment.sig>
I love apt too, I've used yum in fedora 1, but my experiences were very unsatisfactory. I'm sure yum grew up since, I have to give it a spin one of these days. Currently on Centos I'm using dag's apt http://dag.wieers.com/packages/apt/ and Repo-janitor http://www.bioxray.dk/~mok/repo-janitor.php to manage my local repository. The cool part about repo-janitor that the repository is both yum and apt so I can still use up2date for it. This is my repo-janitor.xml file: <repo-janitor id="Tracbox Apt/Yum repository" topdir="/var/repo-janitor/" > <distribution id="centos-3"> <release id="3.3" arch="i386"> <description>Centos 3.3 release for i386 architecture.</description> <component id="os"> <mirror type="rpm">rsync://mirror.physics.ncsu.edu/caoslinux/centos-3/3.3/os/i386/RedHat/RPMS/</mirror> <mirror type="srpm">rsync://mirror.physics.ncsu.edu/caoslinux/centos-3/3.3/os/SRPMS/</mirror> <description>Main Centos Linux packages</description> </component> <component id="updates"> <mirror type="rpm">rsync://mirror.physics.ncsu.edu/caoslinux/centos-3/3.3/updates/i386/RPMS/</mirror> <mirror type="srpm">rsync://mirror.physics.ncsu.edu/caoslinux/centos-3/3.3/updates/i386/SRPMS/</mirror> <description>Updated and fixed versions of Centos Linux packages</description> </component> <component id="addons"> <mirror type="rpm">rsync://mirror.physics.ncsu.edu/caoslinux/centos-3/3.3/addons/i386/RPMS/</mirror> <mirror type="srpm">rsync://mirror.physics.ncsu.edu/caoslinux/centos-3/3.3/addons/i386/SRPMS/</mirror> <description>Addons for Centos Linux packages</description> </component> <component id="contrib"> <mirror type="rpm">rsync://mirror.physics.ncsu.edu/caoslinux/centos-3/3.3/contrib/i386/RPMS/</mirror> <mirror type="srpm">rsync://mirror.physics.ncsu.edu/caoslinux/centos-3/3.3/contrib/i386/SRPMS/</mirror> <description>Contrib for Centos Linux packages</description> </component> <component id="extras"> <mirror type="rpm">rsync://mirror.physics.ncsu.edu/caoslinux/centos-3/3.3/extras/i386/RPMS/</mirror> <mirror type="srpm">rsync://mirror.physics.ncsu.edu/caoslinux/centos-3/3.3/extras/i386/SRPMS/</mirror> <description>Extras for Centos Linux packages</description> </component> <component id="testing"> <mirror type="rpm">rsync://mirror.physics.ncsu.edu/caoslinux/centos-3/3.3/testing/i386/RPMS/</mirror> <mirror type="srpm">rsync://mirror.physics.ncsu.edu/caoslinux/centos-3/3.3/testing/i386/SRPMS/</mirror> <description>Testing for Centos Linux packages</description> </component> <component id="docs"> <mirror type="rpm">rsync://mirror.physics.ncsu.edu/caoslinux/centos-3/3.3/docs/RPMS/</mirror> <description>Docs for Centos Linux packages</description> </component> <component id="misc"> <description>Misc Local packages</description> </component> </release> </distribution> </repo-janitor> On Tue, 07 Dec 2004 11:55:59 -0800, C.M. Connelly <cmc at math.hmc.edu> wrote:> > Beau, > > Most everything you could need to know is in the man pages for > yum. If you have specific questions not answered by the man > pages, please feel free to ask me for my experiences, Seth (who > wrote the thing so should be able to answer *anything* about it), > or the list. > > I'm actually a Debian developer myself, but we're using CentOS at > work, and I find yum quite comfortable (and a good deal less > complex than apt for setting up and maintaining local > repositories). > > I've recently implemented the use of the yumgroups.xml file to > define groups of packages for installation on different classes of > machines. It works very well (provided you make sure that all the > important files are actually readable!). > > Claire > > -- > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* > Claire Connelly cmc at math.hmc.edu > Systems Administrator (909) 621-8754 > Department of Mathematics Harvey Mudd College > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* > > >
Here are a few starters commands, these are the most common. yum check-update (check to see if any packages need updating) yum update (updates any/all packages that need it) yum update packagename1 packagename2 (only update packagename1 & 2) yum install packagename1 (installs packagename) yum install packagename (same as above but does not prompt you for confirmation) yum list available | grep -i packagename (checks to see if packagename is available at yum server) yum search packagename (useful if you're not sure the name of the package, ie. httpd vs apache, RedHat names the Apache package httpd) yum info packagename (similar to rpm -qi, give you info on packagename) yum upgrade (I've only used this once, upgrading a test system running RHEL 3ES to CentOS, seems like if you point your Yum conf to a different distro's yum repo it will upgrade to that version, probably also useful for upgrade from CentOS2 to CentOS3) For install, update, and upgrade, you can pass it the -y variable and it won't prompt you to confirm your actions. You can also customize your yum.conf to exclude certain packages from update/upgrade like the kernel. You can also specify that some packages(again kernel) only get installed and not upgraded. -- Matt Shields http://masnetworks.biz/ http://www.caosity.org/ On Tue, 07 Dec 2004 11:55:59 -0800, C.M. Connelly <cmc at math.hmc.edu> wrote:> > Beau, > > Most everything you could need to know is in the man pages for > yum. If you have specific questions not answered by the man > pages, please feel free to ask me for my experiences, Seth (who > wrote the thing so should be able to answer *anything* about it), > or the list. > > I'm actually a Debian developer myself, but we're using CentOS at > work, and I find yum quite comfortable (and a good deal less > complex than apt for setting up and maintaining local > repositories). > > I've recently implemented the use of the yumgroups.xml file to > define groups of packages for installation on different classes of > machines. It works very well (provided you make sure that all the > important files are actually readable!). > > Claire > > -- > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* > Claire Connelly cmc at math.hmc.edu > Systems Administrator (909) 621-8754 > Department of Mathematics Harvey Mudd College > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* > > >