<?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>Ubuntu Tutorials &#187; command-not-found</title>
	<atom:link href="http://ubuntu-tutorials.com/tag/command-not-found/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntu-tutorials.com</link>
	<description>Enhancing your Ubuntu experience!</description>
	<lastBuildDate>Wed, 23 May 2012 20:22:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How To Find What Package Provided a File?</title>
		<link>http://ubuntu-tutorials.com/2009/03/04/how-to-find-what-package-provided-a-file/</link>
		<comments>http://ubuntu-tutorials.com/2009/03/04/how-to-find-what-package-provided-a-file/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 03:38:02 +0000</pubDate>
		<dc:creator>Christer Edwards</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[command-not-found]]></category>
		<category><![CDATA[dpkg]]></category>

		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=972</guid>
		<description><![CDATA[Earlier today I found myself in a situation where one Ubuntu machine was missing an executable available on the second. After trying to guess the package name a few times without success I pulled this little number out of my bag of tricks: cedwards@monkey:~$ dpkg -S $(which host) bind9-host: /usr/bin/host As you can see, this [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier today I found myself in a situation where one Ubuntu machine was missing an executable available on the second.  After trying to guess the package name a few times without success I pulled this little number out of my bag of tricks:</p>
<blockquote><p><code>cedwards@monkey:~$ dpkg -S $(which host)<br />
bind9-host: /usr/bin/host<br />
</code></p></blockquote>
<p>As you can see, this returned the package name that provided the executable, host.  Using the <code>-S</code> option with <code>dpkg</code> directly is a really simple way to find out what package provided the file or executable you&#8217;re looking for.</p>
<p>This requires, of course, that the file exists on the machine you&#8217;re running the command on.  I should also note that the <code>command-not-found</code> package provides this functionality in recent versions of Ubuntu.  If you&#8217;re on an Ubuntu variant, or a Debian release that may not provide this service, this is a good tool to be aware of.. just in case.</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu-tutorials.com/2009/03/04/how-to-find-what-package-provided-a-file/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic (User agent is rejected)
Database Caching 3/7 queries in 0.004 seconds using disk: basic
Object Caching 244/244 objects using disk: basic

Served from: ubuntu-tutorials.com @ 2012-05-25 14:19:17 -->
