<?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>x83.net &#187; packages</title>
	<atom:link href="http://www.x83.net/tag/packages/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x83.net</link>
	<description></description>
	<lastBuildDate>Sat, 24 Jul 2010 09:50:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RPM relocatable packages</title>
		<link>http://www.x83.net/rpm-relocatable-packages/</link>
		<comments>http://www.x83.net/rpm-relocatable-packages/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 04:28:33 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[packages]]></category>
		<category><![CDATA[relocatable]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=257</guid>
		<description><![CDATA[RPM has an option (&#8211;prefix) that allows users to install rpms in other directories than the default ones.
Packages that allow to be installed in other directories are called : relocatable
[root@localhost gcc]# rpm -qpi libxslt-1.1.24-4.fc11.i586.rpm  &#124; grep Relocations
Name        : libxslt         [...]]]></description>
			<content:encoded><![CDATA[<p>RPM has an option (&#8211;prefix) that allows users to install rpms in other directories than the default ones.<br />
Packages that allow to be installed in other directories are called : <em>relocatable</em></p>
<blockquote><p>[root@localhost gcc]# rpm -qpi libxslt-1.1.24-4.fc11.i586.rpm  | grep Relocations<br />
Name        : libxslt                      Relocations: /usr<br />
[root@localhost gcc]# rpm -qi libxslt  | grep Relo<br />
Name        : libxslt                      Relocations: /usr
</p></blockquote>
<p>So basically you can install this package in other directory.</p>
<blockquote><p>[root@localhost gcc]# rpm -ihv libxslt-1.1.24-4.fc11.i586.rpm &#8211;prefix $PWD &#8211;force<br />
Preparing&#8230;                ########################################### [100%]<br />
   1:libxslt                ########################################### [100%]<br />
[root@localhost gcc]# ls<br />
bin  lib  libxslt-1.1.24-4.fc11.i586.rpm  share
</p></blockquote>
<p>For example gcc is not relocatable and installing it in an different directory is not allowd:</p>
<blockquote><p>[root@localhost gcc]# rpm -qi gcc | grep Relo<br />
Name        : gcc                          Relocations: (not relocatable)<br />
[root@localhost gcc]# rpm -Uhv gcc-4.1.2-33.i386.rpm &#8211;prefix=$PWD<br />
error: package gcc is not relocatable
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/rpm-relocatable-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
