<?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,debian,redhat -linuxany.com &#187; nano</title>
	<atom:link href="http://www.linuxany.com/archives/tag/nano/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxany.com</link>
	<description>ubuntu,debian,redhat,fedora,centos</description>
	<lastBuildDate>Sun, 29 Aug 2010 06:52:10 +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>制作deb包的三种方法</title>
		<link>http://www.linuxany.com/archives/432.html</link>
		<comments>http://www.linuxany.com/archives/432.html#comments</comments>
		<pubDate>Sat, 30 Aug 2008 14:24:44 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[deb]]></category>
		<category><![CDATA[dpkg]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://www.linuxlaptop.cn/?p=467</guid>
		<description><![CDATA[制作deb包有三种方法，一种是将现有的文件打包，安装该包就像将打包的文件释放到某个目录；第二种是用deb源码打包; 第三种是用makefile源码打包,安装这种包就相当于用源码编译安装软件。 1. 第一种方法&#8212;&#8211;将现有的文件打包： 比如你要打包你当前debian系统的/usr/src/soft目录，然后在另一个debian系统上安装 改包时这些文件也释放到/usr/src/soft目录下： 在随便一个目录，比如是root下创建一个工作目录，比如是work #cd /root#mkdir work#cd work 因为安装包的时候默认是将文件释放到根目录下，所以我们设定好它的路径： #mkdir -p usr/src#cp -a /usr/src/soft usr/src#mkdir DEBIAN 用如下的方法在DEBIAN目录下创建一个control文件，并用加入内容： #cat >DEBIAN/control/etc/apt/sources.list 文件中加入 deb-src 条目. 然后, 运行命令 # apt-get update 或# aptitude update就可以用下面的命令下载源码包： # apt-get source packagename 或 # aptitude source packagename 通常会下载三个文件：.orig.tar.gz，.dsc 和 .diff.gz。对于 Debian 专用的软件包，最后一个文件不会下载，第一个文件的文件名中没有“orig”项。 dpkg-source 读取 .dsc 文件信息，将源码包解包到 packagename-version 目录，下载下来的源码包中有一个 debian/ 目录，里面是创建 [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/432.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
