<?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>chys&#039;s random notes &#187; Debian</title>
	<atom:link href="http://en.chys.info/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://en.chys.info</link>
	<description>Study more problems; Talk less of isms.</description>
	<lastBuildDate>Tue, 27 Dec 2011 11:56:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Extract Deb files from command line</title>
		<link>http://en.chys.info/2010/02/extract-deb-files/</link>
		<comments>http://en.chys.info/2010/02/extract-deb-files/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 16:15:12 +0000</pubDate>
		<dc:creator>chys</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://en.chys.info/?p=739</guid>
		<description><![CDATA[Debian and its derivatives use the .deb format to distribute their packages. To extract them, use ar &#8211; Yes, the very program we programmers use to make static libraries. ar x sudo_1.6.9p17-2_i386.deb Or we can directly extract things from data.tar.gz contained in the .deb file: ar p sudo_1.6.9p17-2_i386.deb data.tar.gz &#124; tar -xzf - No longer [...]<hr/>
Related posts:<ol>
<li><a href='http://en.chys.info/2010/12/concatenate-pdf-files-in-linux/' rel='bookmark' title='Concatenate PDF files in Linux'>Concatenate PDF files in Linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.debian.org">Debian</a> and its derivatives use the <code>.deb</code> format to distribute their packages. To extract them, use <code>ar</code> &#8211; Yes, the very program we programmers use to make static libraries.</p>
<blockquote><p><code>ar x sudo_1.6.9p17-2_i386.deb</code></p></blockquote>
<p>Or we can directly extract things from <code>data.tar.gz</code> contained in the <code>.deb</code> file:</p>
<blockquote><p><code>ar p sudo_1.6.9p17-2_i386.deb data.tar.gz | tar -xzf -</code></p></blockquote>
<p>No longer a user of Debian GNU/Linux, I still have to remember how to extract <code>.deb</code> files. I frequently need to cross-compile a 64-bit version of my program on a 32-bit system, and vice versa; but I don&#8217;t want to cross-compile by myself so many libraries on which my program depends. Instead, I find it a good idea to download a right <code>.deb</code> file from the <a href="http://www.debian.org/distrib/packages">Debian Packages Repository</a> and pick out the <code>.so</code> files.</p>
<hr/><p>Related posts:<ol>
<li><a href='http://en.chys.info/2010/12/concatenate-pdf-files-in-linux/' rel='bookmark' title='Concatenate PDF files in Linux'>Concatenate PDF files in Linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://en.chys.info/2010/02/extract-deb-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

