<?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; Yum</title>
	<atom:link href="http://sexysexypenguins.com/tag/yum/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, 04 Mar 2010 18:24:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Anaconda is Awesome! How to force a network request with local media using kickstart</title>
		<link>http://sexysexypenguins.com/2010/02/18/anaconda-is-awesome-how-to-force-a-network-request-with-local-media-using-kickstart/</link>
		<comments>http://sexysexypenguins.com/2010/02/18/anaconda-is-awesome-how-to-force-a-network-request-with-local-media-using-kickstart/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 23:56:14 +0000</pubDate>
		<dc:creator>herlo</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Guru]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Yum]]></category>
		<category><![CDATA[anaconda]]></category>
		<category><![CDATA[asknetwork]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[kickstart]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[repo]]></category>

		<guid isPermaLink="false">http://sexysexypenguins.com/?p=665</guid>
		<description><![CDATA[I sure love it when I solve my own problems, but the internets are a great help to enabling me.
Today, I found myself needing to enable the network (using dhcp) from the anaconda command line (the part that says boot: when you load a CentOS/RHEL/Fedora install disk).
I needed this because I was providing a bit [...]]]></description>
			<content:encoded><![CDATA[<p>I sure love it when I solve my own problems, but the internets are a great help to enabling me.</p>
<p>Today, I found myself needing to enable the network (using dhcp) from the anaconda command line (the part that says <strong>boot:</strong> when you load a CentOS/RHEL/Fedora install disk).</p>
<p>I needed this because I was providing a bit of local media to our external employees for them to use to install, but I had 3 yum repositories I wanted them to be able to use for a few additional rpms I provided.</p>
<p>So, I popped into one of my common support channels and asked the question:</p>
<pre>16:11 &lt; herlo&gt; looking for an option that I can put on the anaconda boot: prompt that will force a
               dhcp request even though the install is from a local disk.  I have repos that are not
               being accessed because the network is not being enabled.
16:11 &lt; herlo&gt; things I have tried
16:11 &lt; herlo&gt; ip=dhcp
16:12 &lt; herlo&gt; boot: linux noipv6 ks=hd:sdb1:media/kickstart.cfg ip=dhcp
16:20 &lt; herlo&gt; okay, so for those who might care
16:20 &lt; herlo&gt; if you do
16:20 &lt; herlo&gt; boot: linux asknetwork ip=dhcp noipv6 ks=hd:sdb1:media/kickstart.cfg
16:20 &lt; herlo&gt; anaconda will force a network dhcp request :)
16:20  * herlo is happy again
</pre>
<p>As you may have noticed above, I resolved this issue without any assistance from the channel, and it only took me 10 minutes to do so.  I found my answer by trial and error from a great page on the fedora wiki: <a href="https://fedoraproject.org/wiki/Anaconda/Options">https://fedoraproject.org/wiki/Anaconda/Options</a></p>
<p>Probably the only thing I wish was documented on that page was when each of the options started being supported in anaconda.  Otherwise, thank you to the folks that wrote and maintain that page.</p>
<p>Cheers,</p>
<p>Herlo</p>
]]></content:encoded>
			<wfw:commentRss>http://sexysexypenguins.com/2010/02/18/anaconda-is-awesome-how-to-force-a-network-request-with-local-media-using-kickstart/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fedora Classroom: Sessions this Weekend</title>
		<link>http://sexysexypenguins.com/2009/02/05/fedora-classroom-sessions-this-weekend/</link>
		<comments>http://sexysexypenguins.com/2009/02/05/fedora-classroom-sessions-this-weekend/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 04:43:12 +0000</pubDate>
		<dc:creator>herlo</dc:creator>
				<category><![CDATA[Classes]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[classroom]]></category>
		<category><![CDATA[f11]]></category>
		<category><![CDATA[i18n]]></category>
		<category><![CDATA[irc]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[Yum]]></category>

		<guid isPermaLink="false">http://sexysexypenguins.com/?p=488</guid>
		<description><![CDATA[So, we&#8217;ve been slacking.  Probably the economy.  Or maybe it was FUDCon aftermath.  Maybe, just maybe, we were in fact, just lazy.  I don&#8217;t know&#8230;..but!!
It&#8217;s time again for the Fedora Classroom!!
If you aren&#8217;t familiar with the Fedora Classroom IRC sessions, we hold them about once a month in #fedora-classroom in irc.freenode.net.
This month&#8217;s session will be [...]]]></description>
			<content:encoded><![CDATA[<p>So, we&#8217;ve been slacking.  Probably the economy.  Or maybe it was FUDCon aftermath.  Maybe, just maybe, we were in fact, just lazy.  I don&#8217;t know&#8230;..but!!</p>
<p>It&#8217;s time again for the <a href="https://fedoraproject.org/wiki/Classroom"><strong>Fedora Classroom</strong></a>!!</p>
<p>If you aren&#8217;t familiar with the Fedora Classroom IRC sessions, we hold them about once a month in #fedora-classroom in irc.freenode.net.</p>
<p>This month&#8217;s session will be just on Saturday from 01:30 to 06:30 UTC (see <a href="http://www.timeanddate.com/worldclock/meeting.html?year=2008&amp;month=12&amp;day=6&amp;p1=195&amp;p2=179&amp;p3=1038&amp;p4=47">this guide </a>if you aren&#8217;t sure what times those are in your neighborhood).  We&#8217;ve got some good coverage of how Yum works, a little internationalization and updates on the new features in Fedora 11 (the Alpha just came out today).</p>
<p>I always find these sessions enlightening so come on by and participate!</p>
<p>Cheers,</p>
<p>Herlo</p>
]]></content:encoded>
			<wfw:commentRss>http://sexysexypenguins.com/2009/02/05/fedora-classroom-sessions-this-weekend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yum Update: 482:07</title>
		<link>http://sexysexypenguins.com/2008/02/04/yum-update-48207/</link>
		<comments>http://sexysexypenguins.com/2008/02/04/yum-update-48207/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 21:15:57 +0000</pubDate>
		<dc:creator>herlo</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Yum]]></category>
		<category><![CDATA[bugs]]></category>

		<guid isPermaLink="false">http://fedora-tutorials.com/2008/02/04/yum-update-48207/</guid>
		<description><![CDATA[As I usually do while teaching class, I installed a Fedora 8 machine, and ran yum update.  Today I noticed a strange amount of time for one particular download:

While this is hilarious, its shouldn&#8217;t happen.  Any ideas?  I know it didn&#8217;t take 28927 seconds (or about 1/3 of a day) to download that foomatic package.
Cheers,
Herlo
]]></description>
			<content:encoded><![CDATA[<p>As I usually do while teaching class, I installed a Fedora 8 machine, and ran yum update.  Today I noticed a strange amount of time for one particular download:</p>
<p><a href="http://fedora-tutorials.com/wp-content/uploads/2008/02/48207.png" title="foomatic"><img src="http://fedora-tutorials.com/wp-content/uploads/2008/02/48207.png" alt="foomatic" /></a></p>
<p>While this is hilarious, its shouldn&#8217;t happen.  Any ideas?  I know it didn&#8217;t take 28927 seconds (or about 1/3 of a day) to download that foomatic package.</p>
<p>Cheers,</p>
<p>Herlo</p>
]]></content:encoded>
			<wfw:commentRss>http://sexysexypenguins.com/2008/02/04/yum-update-48207/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Werewolf (Fedora 8) Upgrade in 3 Easy Steps Using yum</title>
		<link>http://sexysexypenguins.com/2007/11/10/werewolf-fedora-8-upgrade-in-3-easy-steps/</link>
		<comments>http://sexysexypenguins.com/2007/11/10/werewolf-fedora-8-upgrade-in-3-easy-steps/#comments</comments>
		<pubDate>Sat, 10 Nov 2007 07:35:03 +0000</pubDate>
		<dc:creator>herlo</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Guru]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Yum]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[werewolf]]></category>

		<guid isPermaLink="false">http://fedora-tutorials.com/2007/11/10/werewolf-fedora-8-upgrade-in-3-easy-steps/</guid>
		<description><![CDATA[Recently, there was a request in one of my comments on this post.  The request was for an easy way to upgrade from Fedora 7 to Fedora 8.  So I took this on as a bit of a challenge.  I feel pretty comfortable with yum and I thought it would be a [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, there was a request in one of my comments on <a href="http://fedora-tutorials.com/2007/11/04/upgraded-fedora-8-werewolf-is-installed/">this post</a>.  The request was for an easy way to upgrade from Fedora 7 to Fedora 8.  So I took this on as a bit of a challenge.  I feel pretty comfortable with <strong>yum</strong> and I thought it would be a good and easy task.</p>
<p>A bit of warning here, make sure your current Moonshine ( Fedora 7 ) release is update by running <strong>yum update</strong>.  Also, it is recommended that backups be made of files being modified.  <strong>If you don&#8217;t backup the file, it may be impossible to fix in the future.  YOU HAVE BEEN WARNED</strong></p>
<p>Let&#8217;s upgrade Moonshine ( Fedora 7 ) to Werewolf ( Fedora 8 ) in three easy steps:</p>
<p>First things first, lets print out some version info:</p>
<pre>$ cat /etc/*release
Fedora release 7 (Moonshine)
Fedora release 7 (Moonshine)</pre>
<pre>$ uname -r
2.6.23.1-21.fc7</pre>
<p>Its easy to tell that this machine is indeed using Moonshine ( Fedora 7 ), so let&#8217;s upgrade!</p>
<h3>Step 1 &#8211; Modify the yum repo files</h3>
<p>Located in <em>/etc/yum.repos.d </em>directory are where the yum repository files are stored.   We need to modify one line so that <strong>yum </strong>will know where to look:</p>
<pre>$ su -
# vim /etc/yum.repos.d/fedora.repo</pre>
<p>Find the first line that starts:</p>
<pre>mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&amp;arch=$basearch</pre>
<p>and change it:</p>
<pre>mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&amp;arch=$basearch</pre>
<p>What changed?  Well, the <em>$releasever</em> value is the current value for our version of fedora, in this case 7.  By changing it to 8, it&#8217;ll load the correct repositories for Werewolf (F8) instead of Moonshine (F7).  Save the file, and now we&#8217;re ready to move onto the next step.</p>
<h3>Step 1 (Alternate)</h3>
<p>Since posting this, I&#8217;ve learned that another option is available.  To update the repositories, its possible to install an rpm to accomplish the same as above and it won&#8217;t require <strong>Step 3</strong>.</p>
<p>Choose your mirror from <a href="http://mirrors.fedoraproject.org">http://mirrors.fedoraproject.org</a>.  I picked University of Oregon&#8217;s site because it was close to me.</p>
<pre># rpm -Uvh \
ftp://ftp.osuosl.org/pub/fedora/linux/releases/8/Everything/i386/os/Packages/fedora-release-*.rpm</pre>
<p>Your ftp/http line here may be different, that is fine.  This command installs the updated repositories for Werewolf ( Fedora 8 )</p>
<h3>Step 2 &#8211; Upgrade</h3>
<p>In this step, we just need to run (as root):</p>
<pre># yum update
fedora               100% |===============| 2.1 kB   00:00
primary.sqlite.bz2   100% |===============| 4.9 MB   00:03
Setting up Update Process
Resolving Dependencies
.. snip ..</pre>
<p>A few prompts will appear, after the repository data is loaded, a list of several hundred megs (possibly a gigabyte or more) of packages will be ready to install.  This is the moment of truth.</p>
<pre>Transaction Summary
============================
Install     88 Package(s)
Update     836 Package(s)
Remove       1 Package(s)

Total download size: 1.0 G
Is this ok [y/N]:</pre>
<p>Start the download of over 800 packages (in my case) and install and update your system.  If you feel a bit of trepidation, I concur.  Its still exciting though, isn&#8217;t it?</p>
<pre>Is this ok [y/N]: <strong>y</strong></pre>
<p>Now aren&#8217;t you excited!  In about 30-45 minutes, you&#8217;ll have a newly upgraded <em>Werewolf</em> ( Fedora 8 ).</p>
<pre>Downloading Packages:
orca-2.20.0.1-1. 100% |=========================| 1.5 MB    00:01
.. snip ..</pre>
<h3>Step 3 &#8211; Cleanup and Reboot</h3>
<p>Welcome to your new Werewolf.  Treat it wisely.  First things first though, we need to clean up our editing from step 1:</p>
<pre># vim /etc/yum.repos.d/fedora.repo</pre>
<p>Find the first line that starts:</p>
<pre>mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&amp;arch=$basearch</pre>
<p>and change it:</p>
<pre>mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&amp;arch=$basearch</pre>
<p>Save the file, or if you prefer, copy the backup you made over the modified repo file.</p>
<p>In addition, there are some items that aren&#8217;t in Fedora 8 the same way they were in Fedora 7.  For these, read <a href="http://fedoraproject.org/wiki/YumUpgradeFaq#head-56b13936246769f517ac488a0098d193c7fc3600" target="_blank">this guide</a>.  I didn&#8217;t have these problems myself, ymmv.</p>
<p>To get the newly updated kernel and all the new goodness of Werewolf, a reboot <strong>is</strong> necessary.  Enjoy your new Lycanthrope on the flip side.</p>
<p>Cheers,</p>
<p>Herlo</p>
]]></content:encoded>
			<wfw:commentRss>http://sexysexypenguins.com/2007/11/10/werewolf-fedora-8-upgrade-in-3-easy-steps/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Thoughts on the Fedora Upgrade &#8211; Part 1</title>
		<link>http://sexysexypenguins.com/2007/11/06/thoughts-on-the-fedora-upgrade-part-1/</link>
		<comments>http://sexysexypenguins.com/2007/11/06/thoughts-on-the-fedora-upgrade-part-1/#comments</comments>
		<pubDate>Tue, 06 Nov 2007 18:43:20 +0000</pubDate>
		<dc:creator>herlo</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[f8]]></category>
		<category><![CDATA[packages]]></category>
		<category><![CDATA[rawhide]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[werewolf]]></category>
		<category><![CDATA[Yum]]></category>

		<guid isPermaLink="false">http://fedora-tutorials.com/2007/11/06/thoughts-on-the-fedora-upgrade-part-1/</guid>
		<description><![CDATA[So its been a whole two days since I upgraded to Werewolf.  I love it!  Most everything works out of the box (OOTB), wireless, bluetooth, even suspend/resume seem to be possible for the first time!
But one of the oddities I encountered while upgrading was the names of the packages.  Mind you, this [...]]]></description>
			<content:encoded><![CDATA[<p>So its been a whole two days since I upgraded to Werewolf.  I love it!  Most everything works out of the box (OOTB), wireless, bluetooth, even suspend/resume seem to be possible for the first time!</p>
<p>But one of the oddities I encountered while upgrading was the names of the packages.  Mind you, this is just my twisted mind being interested in some of the funny odd or strange package names I found while the <strong>yum upgrade</strong> was taking place.<strong><br />
</strong></p>
<p>So here&#8217;s the list anyway, with a short description of each.  Enjoy:</p>
<ul>
<li>gwenhywfar &#8211; A multi-platform helper library for networking and security applications and libraries.</li>
<li>meanwhile &#8211; <a href="http://tinyurl.com/2lqk8s" target="_blank">Lotus Sametime</a> session functionality.<a href="http://tinyurl.com/2lqk8s" target="_blank"></a></li>
<li>neon &#8211; An HTTP and WebDAV client library.</li>
<li>coolkey &#8211; Linux Driver support for the CoolKey and CAC products.</li>
<li>rarian &#8211;  Designed as a replacement for scrollkeeper; A documentation meta-data library.</li>
<li>openjade &#8211; An implementation of the <a href="http://www.jclark.com/dsssl/" target="_blank">ISO/IEC 10179:1996 standard</a> DSSSL.</li>
<li>sox &#8211; (Sound eXchange) is a sound file format converter.</li>
<li>cadaver &#8211; A command-line WebDAV client.</li>
<li>booty &#8211; Small python library for use with bootloader configuration.</li>
<li>orca &#8211; A flexible, extensible, and powerful assistive technology.</li>
<li>zenity &#8211; Lets you display Gtk+ dialog boxes from the command line and through shell scripts.</li>
<li><em>eog</em> &#8211; Eye of GNOME (EOG) is an image viewer.</li>
<li><em>gok</em> &#8211; Enables users to control their computer without relying on a standard keyboard or mouse, leveraging GNOME&#8217;s accessibility framework</li>
<li><em>devilspie</em> &#8211; A window-matching utility.*</li>
</ul>
<p>This information was gathered using the command &#8216;<strong>rpm -qi</strong> &lt;packagename&gt;&#8217;.  This provided enough information to help understand at least the basics of each of these packages and whether to consider using them in the future.</p>
<p>The packages in <em>italics</em> above are packages that I consider interesting, and I plan to attempt to blog about each of them in turn as part of my <a href="http://fedora-tutorials.com/category/pow/" target="_blank">POW</a> series.</p>
<p>The <em>devilspie </em>package has a * which means that I&#8217;ve used this program before.  I quite enjoyed using the Devil&#8217;s Pie, and plan to take a look at it again in Fedora 8 as the previous package had some real limitations and lacked needed flexibility.</p>
<p>Please watch for the upcoming articles on these utilities.  Also, if there are packages that you found interesting during your upgrade, please comment and let me know what they are so I can learn and possibly use them as well.</p>
<p>Cheers,</p>
<p>Herlo</p>
]]></content:encoded>
			<wfw:commentRss>http://sexysexypenguins.com/2007/11/06/thoughts-on-the-fedora-upgrade-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<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, and [...]]]></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>
		<item>
		<title>POW: bash-completion &#8211; Bash Auto Completion in Fedora using yum (and more)</title>
		<link>http://sexysexypenguins.com/2007/10/24/pow-bash-completion-bash-auto-completion-in-fedora-using-yum-and-more/</link>
		<comments>http://sexysexypenguins.com/2007/10/24/pow-bash-completion-bash-auto-completion-in-fedora-using-yum-and-more/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 15:29:19 +0000</pubDate>
		<dc:creator>herlo</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[POW]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Yum]]></category>

		<guid isPermaLink="false">http://fedora-tutorials.com/2007/10/24/pow-bash-completion-bash-auto-completion-in-fedora-using-yum-and-more/</guid>
		<description><![CDATA[In an attempt to consistently blog, I am starting a new series here on fedora-tutorials.com. Program of the Week (POW). Hopefully, this will excite and inform all of us about the cool programs available in Fedora. So see you next Wednesday for another program.
Over the past year or so, I&#8217;ve been on the hunt for [...]]]></description>
			<content:encoded><![CDATA[<p>In an attempt to consistently blog, I am starting a new series here on fedora-tutorials.com. Program of the Week (POW). Hopefully, this will excite and inform all of us about the cool programs available in Fedora. So see you next Wednesday for another program.</p>
<p>Over the past year or so, I&#8217;ve been on the hunt for several things that I find in other Linux distros that I cannot find in Fedora. Its not very common, but on occasion I do run into something that&#8217;s not there on Fedora. One of them was the ability to automagically complete many of the command lines for many things.</p>
<p>One of them, and probably one of the biggest, was the fact that yum did not have tab completion for available packages. Today is my lucky day! While chatting and helping my students with their labs today, one of them mentioned to me that he could tab complete a particular command on his box. I of course inquired, because it interested me, as to the package name. It turns out my bash tab completion dreams were just about to come true! He told me about this amazing package that would let me use tab completions for things like the <strong>service</strong> command, <strong>man</strong> and of course, <strong>yum</strong>.</p>
<p>I was blown away! So immediately after this discussion, I started searching for this elusive package I&#8217;ve never heard of before. Sure enough, as he informed me, <em>bash-completion </em>does exist and does some amazing things. After hunting around a little on google, here&#8217;s some of the stuff I found. I&#8217;ll also include the links at the bottom of this post.</p>
<p>as root try this:  (note [Tab] means you should hit the tab key)</p>
<blockquote>
<pre># service ht[Tab]</pre>
</blockquote>
<p>What you&#8217;ll notice is that one of three things happen.  If you&#8217;ve got the <em>bash-completion</em> package installed already because you&#8217;re ahead of the game, it should auto-complete for you. Without bash-completion, this doesn&#8217;t happen, but its also possible that since bash already has some completion in place, it might auto complete a directory for you, but that&#8217;s definitely not what you want.</p>
<p>If you&#8217;ve not already installed bash-completion, I&#8217;d suggest you do it now.  On Fedora 7, run the following command:</p>
<blockquote>
<pre># yum install -y bash-completion
..snip..
Installed: bash-completion.noarch 0:20060301-3.fc7
Complete!</pre>
</blockquote>
<p>Now that <em>bash-completion</em> is installed, we need to invoke the tools. Normally, this is not needed, and a reboot/re-login will take care of this as well, but since I wanted to use this right away, I did the following as an unprivileged user:</p>
<blockquote>
<pre>$ source /etc/bash_completion</pre>
</blockquote>
<p>This doesn&#8217;t seem to do much, but its actually quite powerful.  The source (or .) will load the environment variables from the <em>/etc/bash_completion</em> script into my current environment.  Luckily for us, when we now log into root, <em>/etc/bashrc</em> will accomplish this for us without any intervention. To test that it worked, try running the following command as the same unprivileged user:</p>
<blockquote>
<pre>$ unalias[Tab]
<tab><tab>.=     ll=     ls=     vi=     which=</tab></tab></pre>
</blockquote>
<p>Note that when I pressed <tab> twice, a list of the currently available aliases appeared.  Nice ey?  Let&#8217;s complete this:</tab></p>
<blockquote>
<pre>$ unalias w[Tab]</pre>
</blockquote>
<p>Now produces:</p>
<blockquote>
<pre>$ unalias which</pre>
</blockquote>
<p>And completes the string as expected.  Now we&#8217;re getting somewhere!  But why did I really want to explain this?</p>
<p><big><big>Oh yeah! <strong>yum</strong></big></big></p>
<p>With <em>bash-completion</em>, yum can now provide us with a list of available packages, similar to the auto completion capability in <em>apt-get</em> or <em>aptitude</em> from Ubuntu or Debian. Say for instance you want to see all of the packages available for install that match what you&#8217;re looking for, but don&#8217;t want to run <strong>yum list</strong> or <strong>yum search</strong> because, in truth, it just takes to long!  Now you have an alternative:</p>
<blockquote>
<pre># yum -y install bal[Tab]<tab></tab></pre>
</blockquote>
<p>Produces:</p>
<blockquote>
<pre>ballbuster.i386  ballz.i386       balsa.i386</pre>
</blockquote>
<p>Adding another &#8216;lb&#8217; to the end of that string (and then the tab key of course) should help us to complete to the package we&#8217;d like to install.</p>
<blockquote>
<pre># yum -y install  ballb[Tab]</pre>
</blockquote>
<p>Then completes to:</p>
<blockquote>
<pre># yum -y install  ballbuster.i386</pre>
</blockquote>
<p>Hitting enter then installs the ballbuster package, and its quite a fun game!</p>
<blockquote>
<pre>.. snip ..
Installed: ballbuster.i386 0:1.0-1.fc6
Dependency Installed: ClanLib.i386 0:0.8.0-4.fc7
Complete!</pre>
</blockquote>
<p>Of course, there are hundreds of others tab completions available (and there&#8217;s a good way to list many of them too, even if its a bit cryptic). Try these on for size:</p>
<p>Are you a developer?</p>
<blockquote>
<pre>$ svn c[Tab]
cat checkout  ci     cleanup   co     commit    copy    cp
$ make [Tab]
all clean dist-clean</pre>
</blockquote>
<p>What about a systems administrator?</p>
<blockquote>
<pre># modprobe -r b[Tab]
battery    bay        blkcipher  bluetooth  bridge     button</pre>
</blockquote>
<blockquote>
<pre>$ man cron[Tab]
cron     crond    crontab</pre>
</blockquote>
<blockquote>
<pre>$ ssh herlo[Tab]
herlo-f7   herlo-lap  herlo.org</pre>
<pre>$ grep --[Tab][Tab]
 --after-context=  --directories=   --invert-match   --only-matching
 --basic-regexp    --exclude=       --label=         --perl-regexp
.. snip ..</pre>
</blockquote>
<p>To help you wade further through, try out the following two commands:</p>
<ul>
<li>
<pre>complete -p</pre>
</li>
<li>
<pre>declare -f</pre>
</li>
</ul>
<p>Be aware that these are advanced components and can really be confusing if you&#8217;re not a developer and just want to use the features. The <em>complete</em> command seems to provides some tools to do additional auto-completion. I also think that its nice to be able to extend this functionality to other applications as well.</p>
<p>As promised, here&#8217;s a few links to help your completion introduction.   <strong>Note</strong>:  Some of these links provide more than just the simple tab completion:</p>
<ul>
<li><a href="http:/http://www.caliban.org/bash/index.shtml#completion" target="_blank">http://www.caliban.org/bash/index.shtml#completion</a> &#8211; The GNU page on bash-completion, still needs more.</li>
<li><a href="http://www.keyboardcowboy.co.uk/bash-completion/" target="_blank">http://www.keyboardcowboy.co.uk/bash-completion/</a> &#8211; Provides some interesting scripts to improve your bash-competions</li>
<li><a href="http://www.debian-administration.org/articles/316" target="_blank">http://www.debian-administration.org/articles/316</a> &#8211; An introduction to bash completion: part 1</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sexysexypenguins.com/2007/10/24/pow-bash-completion-bash-auto-completion-in-fedora-using-yum-and-more/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
