<?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>hmmm.... &#187; deb</title>
	<atom:link href="http://michael.thegrebs.com/tag/deb/feed/" rel="self" type="application/rss+xml" />
	<link>http://michael.thegrebs.com</link>
	<description></description>
	<lastBuildDate>Thu, 27 Oct 2011 18:48:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>dh-make-perl will rock your socks</title>
		<link>http://michael.thegrebs.com/2008/07/02/dh-make-perl-will-rock-your-socks/</link>
		<comments>http://michael.thegrebs.com/2008/07/02/dh-make-perl-will-rock-your-socks/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 19:38:04 +0000</pubDate>
		<dc:creator>mikegrb</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[deb]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://michael.thegrebs.com/?p=123</guid>
		<description><![CDATA[dh-make-perl is the most awesome Debian package /ever/. dh-make-perl --cpan Some::Module --build sudo dpkg -i libsome-module-0.1-1_all.deb Done. Dependencies If you have apt-file installed and Some::Module requires Lib::Foo for which a Debian package is available, the dependancy will automatically be created. &#8230; <a href="http://michael.thegrebs.com/2008/07/02/dh-make-perl-will-rock-your-socks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">dh-make-perl</div></div>
<p>is the most awesome Debian package /ever/.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">dh-make-perl --cpan Some::Module --build<br />
sudo dpkg -i libsome-module-0.1-1_all.deb</div></div>
<p>Done.</p>
<p><strong>Dependencies</strong></p>
<p>If you have</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">apt-file</div></div>
<p>installed and Some::Module requires Lib::Foo for which a Debian package is available, the dependancy will automatically be created.  If Lib::Foo does not have a Debian package already available, you will likely  need to manually run</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">dh-make-perl</div></div>
<p>on Lib::Foo first.</p>
<p>I haven&#8217;t seen the</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">apt-file</div></div>
<p>trick mentioned elsewhere.  Honestly when someone mentioned it on IRC I didn&#8217;t believe him.  Sure enough, looking at the source for</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">dh-make-per</div></div>
<p>l revealed that it does indeed check apt-file for each module that Some::Module lists as required in the</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">META.yml</div></div>
<p>.</p>
<p><strong>Why?</strong></p>
<p>Now dpkg/apt know that you have Some::Module installed.  If an official package for Some::Module comes out, it will likely have the same name and if it is for a newer version of Some::Module aptitude upgrade will automagically upgrade you to it.  The real win is ease of cleanly uninstalling though. How many times have you found what you thought was the perfect module for task XYZ and installed it.  Only to find that it isn&#8217;t so hot 5 minutes after beginning to use it.  Making sure &#8216;</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">make uninstall</div></div>
<p>&#8216; really uninstalled every thing can be a pain.</p>
]]></content:encoded>
			<wfw:commentRss>http://michael.thegrebs.com/2008/07/02/dh-make-perl-will-rock-your-socks/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

