<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sexy Sexy Penguins &#187; groupinfo</title>
	<atom:link href="http://sexysexypenguins.com/tag/groupinfo/feed/" rel="self" type="application/rss+xml" />
	<link>http://sexysexypenguins.com</link>
	<description>I love the smell of &#34;Free Software&#34; in the morning</description>
	<lastBuildDate>Thu, 26 Aug 2010 16:36:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>POW: Yum installation by groups</title>
		<link>http://sexysexypenguins.com/2007/10/31/yum-installation-by-groups/</link>
		<comments>http://sexysexypenguins.com/2007/10/31/yum-installation-by-groups/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 20:28:14 +0000</pubDate>
		<dc:creator>herlo</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Guru]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[POW]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Yum]]></category>
		<category><![CDATA[groupinfo]]></category>
		<category><![CDATA[groupinstall]]></category>
		<category><![CDATA[grouplist]]></category>

		<guid isPermaLink="false">http://fedora-tutorials.com/2007/10/31/yum-installation-by-groups/</guid>
		<description><![CDATA[The second in the Program of the Week (POW) is here. Yum, the Yellowdog Updater Modifer, has a very interesting feature. One which you might find useful if you want to install an entire set of packages for say a new &#8220;Windows File Server&#8221;. Yum provides this feature right out of the box these days, [...]]]></description>
			<content:encoded><![CDATA[<p>The second in the Program of the Week (POW) is here.</p>
<p>Yum, the Yellowdog Updater Modifer, has a very interesting feature.  One which you might find useful if you want to install an entire set of packages for say a new &#8220;Windows File Server&#8221;.</p>
<p>Yum provides this feature right out of the box these days, and its quite a nice feature.  SUSE 10.1 has rug which is a very similar feature, called bundles.  I would guess that Ubuntu either already has this feature, or will in the near future.</p>
<p>So how does installation by groups work?  Pretty simple really, first we must learn a few new options in yum:</p>
<p>First is &#8220;grouplist&#8221;.  Grouplist will tell you which groups of packages you have installed and which ones haven&#8217;t been installed.</p>
<blockquote>
<pre>$ yum grouplist</pre>
<pre>Setting up Group Process

Installed Groups:
  Office/Productivity
  Engineering and Scientific
  .. snip ..

Available Groups:
  .. snip ..

  Windows File Server
  .. snip ..

  Development Tools
Done</pre>
</blockquote>
<p>In my case, you can see that I&#8217;ve not yet installed &#8220;Windows File Server&#8221;.  Interestingly enough, I&#8217;m not sure what&#8217;s in that group of packages, so its time to check:</p>
<blockquote>
<pre>$ yum groupinfo "Windows File Server"
Setting up Group Process</pre>
<pre>Group: Windows File Server
 Description: This package group allows you to share files
 between Linux and MS Windows(tm) systems.

 Mandatory Packages:
   samba
   samba-client
 Default Packages:
   system-config-samba</pre>
</blockquote>
<p>Wow, quite a few packages, there&#8217;s also some good information here.  We now know that there are 10 optional packages and 1 conditional package that can be installed.  To get the details on any of these packages, yum can tell us:</p>
<blockquote>
<pre>$ yum info samba
  .. snip ..

Available Packages
Name   : samba
Arch   : i386
Version: 3.0.26a
Release: 0.fc7
Size   : 3.1 M
Repo   : updates
Summary: The Samba Suite of programs
Description:Samba is the suite of programs by which a lot of
PC-related machines share files, printers, and other
information (such as lists of available files and printers).
The Windows NT, OS/2, and Linux operating systems support
this natively, and add-on packages can enable the same thing
for DOS, Windows, VMS, UNIX of all kinds, MVS,
and more..</pre>
</blockquote>
<p>Yum informs us that the &#8220;samba&#8221; package is useful for setting up file sharing between Windows and Linux.  Other packages from the list above will also be installed so we&#8217;ll get to play with some of those as well.  If desired, &#8216;yum info&#8217; can be run for each of the packages found in the grouplist.  However, for us, lets move on and install the group of packages:</p>
<blockquote>
<pre>$ su -# yum groupinstall "Windows File Server"
.. snip ..

============================================================
Package               Arch    Version        Repo      Size
============================================================
Installing:
system-config-samba   noarch  1.2.52-1.fc7   updates  287 k
Installing for dependencies:
samba                 i386    3.0.26a-0.fc7  updates  3.1 M
Transaction Summary
============================================================
Install      2 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 3.4 M
Is this ok [y/N]:</pre>
</blockquote>
<p>At this point, we need to choose whether we&#8217;re going to install the 2 packages that will enable samba for us.   Hitting enter will answer no, so we need to type a &#8216;y&#8217; and hit enter.  The packages are then downloaded, and installed:</p>
<blockquote>
<pre>Is this ok [y/N]: y
Downloading Packages:
(1/2): system-config-samb 100% |=============| 287 kB  00:00
(2/2): samba-3.0.26a-0.fc 100% |=============| 3.1 MB  00:02
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: samba                 ################## [1/2]
Installing: system-config-samba   ################## [2/2]
Installed: system-config-samba.noarch 0:1.2.52-1.fc7
Dependency Installed: samba.i386 0:3.0.26a-0.fc7
Complete!</pre>
</blockquote>
<p>As you can see, its pretty nice to be able to install a group of packages together, letting yum do the work to figure out the details.  In another article in the near future, I&#8217;ll cover how we create these relationships and build a back end yum server from the ground up.</p>
<p>Cheers,</p>
<p>Herlo</p>
]]></content:encoded>
			<wfw:commentRss>http://sexysexypenguins.com/2007/10/31/yum-installation-by-groups/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
