[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Mon May 16 22:20:31 2005 -->
- <!--x-from-r13: wxvaarl ng ybpnyargfbyhgvbaf.pbz (Xnzrf B. Yvaarl WWW) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Install RPM file and specify install directory -->
- <li><em>date</em>: Mon May 16 22:20:31 2005</li>
- <li><em>from</em>: jkinney at localnetsolutions.com (James P. Kinney III)</li>
- <li><em>in-reply-to</em>: <[email protected]></li>
- <li><em>references</em>: <<a href="msg00301.html">[email protected]</a>> <[email protected]> <<a href="msg00317.html">[email protected]</a>> <[email protected]></li>
- <li><em>subject</em>: [ale] Install RPM file and specify install directory</li>
> >
> > rpm --relocate /usr=/usr/local
>
> My understanding is that --relocate and --prefix only handle binary
> files so they are not 100% guaranteed to not install on top of an
> existing install. One would think that --prefix would, but man rpm says
> it only applies to binaries.
The trick is to look at the binary rpm first and see where all of it's
parts are headed. Then using --relocate will let you specify where the
binaries will go.
This is not an issue for src.rpm files as they are going to be compiled
to make binaries anyway.
The big caveat is applications that have hard coded config files that
have overlap with the earlier versions. In that case, it is required to
get the src.rpm and recompile after some prudent spec file editing.
At this point, it's easier to just get the tarball and do the configure-
>make->make install dance.
--
James P. Kinney III \Changing the mobile computing world/
CEO & Director of Engineering \ one Linux user /
Local Net Solutions,LLC \ at a time. /
770-493-8244 \.___________________________./
<a rel="nofollow" href="http://www.localnetsolutions.com">http://www.localnetsolutions.com</a>
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00301" href="msg00301.html">[ale] Install RPM file and specify install directory</a></strong>
<ul><li><em>From:</em> trey at fastmail.fm (Trey Sizemore)</li></ul></li>
<li><strong><a name="00304" href="msg00304.html">[ale] Install RPM file and specify install directory</a></strong>
<ul><li><em>From:</em> jimpop at yahoo.com (Jim Popovitch)</li></ul></li>
<li><strong><a name="00317" href="msg00317.html">[ale] Install RPM file and specify install directory</a></strong>
<ul><li><em>From:</em> kaboom at oobleck.net (Chris Ricker)</li></ul></li>
<li><strong><a name="00328" href="msg00328.html">[ale] Install RPM file and specify install directory</a></strong>
<ul><li><em>From:</em> jimpop at yahoo.com (Jim Popovitch)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00340.html">[ale] Linux Distributions</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00342.html">[ale] [OT] Out-of-state wine sales legalized</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00335.html">[ale] Install RPM file and specify install directory</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00311.html">[ale] Install RPM file and specify install directory</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00341"><strong>Date</strong></a></li>
<li><a href="threads.html#00341"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>