<?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>prefix</title>
	<atom:link href="https://www.aitaocui.cn/tag/196307/feed" rel="self" type="application/rss+xml" />
	<link>https://www.aitaocui.cn</link>
	<description>翡翠玉石爱好者聚集地</description>
	<lastBuildDate>Thu, 24 Nov 2022 01:28:58 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.1</generator>

<image>
	<url>https://www.aitaocui.cn/wp-content/uploads/2022/11/taocui.png</url>
	<title>prefix</title>
	<link>https://www.aitaocui.cn</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>prefix(linux安装软件)</title>
		<link>https://www.aitaocui.cn/article/305421.html</link>
					<comments>https://www.aitaocui.cn/article/305421.html#respond</comments>
		
		<dc:creator><![CDATA[汪藏海]]></dc:creator>
		<pubDate>Thu, 24 Nov 2022 01:28:58 +0000</pubDate>
				<category><![CDATA[百科]]></category>
		<category><![CDATA[prefix]]></category>
		<guid isPermaLink="false">https://www.aitaocui.cn/?p=305421</guid>

					<description><![CDATA[linux安装软件采用源码安装灵活自由，适用于不同的平台，维护也十分方便。 选项 源码的安装一般由3个步骤组成： 配置（configure） 编译（make） 安装（make in...]]></description>
										<content:encoded><![CDATA[</p>
<article>
<p>linux安装软件采用源码安装灵活自由，适用于不同的平台，维护也十分方便。</p>
</article>
<article>
<h1>选项</h1>
<p>源码的安装一般由3个步骤组成：</p>
<p>配置（configure）</p>
<p>编译（make）</p>
<p>安装（make install）</p>
<h1>安装方法</h1>
<p>具体的安装方法一般作者都会给出文档，这里说明配置（configure）的prefix选项。</p>
<p>以安装supersparrow-0.0.0为例，我们打算把他安装到目录/usr/local/supersparrow,于是在supersparrow-0.0.0目录执行带选项的脚本：</p>
<p>./configure–prefix=/usr/local/supersparrow</p>
<p>执行成功后再编译、安装（make，make install）；安装完成将自动生成目录supersparrow,而且该软件任何的文档都被复制到这个目录。为什么要指定这个安装目录？是为了以后的维护方便，假如没有用这个选项，安装过程结束后，该软件所需的软件被复制到不同的系统目录下，很难弄清楚到底复制了那些文档、都复制到哪里去了—基本上是一塌糊涂。</p>
<p>用了—prefix选项的另一个好处是卸载软件或移植软件。当某个安装的软件不再需要时，只须简单的删除该安装目录，就可以把软件卸载得干干净净；移植软件只需拷贝整个目录到另外一个机器即可（相同的操作系统）。</p>
<p>一个小选项有这么方便的作用，建议在实际工作中多多使用。</p>
</article>
<div class="mt-3 mb-3" style="max-width: 770px;height: auto;">
                                    </div>
<div class="mt-3 mb-3" style="max-width: 770px;height: auto;">
                                    </div>
<div class="mt-3 mb-3" style="max-width: 770px;height: auto;">
                                    </div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aitaocui.cn/article/305421.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
