[Yum] installroot question

Curtis Higgins higgincc at gmail.com
Mon Dec 17 05:59:01 UTC 2007


OK, so it depends on the package rather than the package manager.  Is there
a way to modify, or handle packages in a way that will let me specify where
they are installed?

Thanks

On Dec 16, 2007 7:39 PM, Jim Perrin <jperrin at gmail.com> wrote:

> On Dec 16, 2007 8:30 PM, Curtis Higgins <higgincc at gmail.com> wrote:
>
> > I'd like to use yum to install some programs to /usr/local rather than
> /usr.
>
> This depends on if the packages were built in such a way as to be
> relocatable, and/or where they place files on the system.
>
> > It seems to me that I would need to use the command:
> > yum installroot=/usr/local install xmms
>
> Not really. This will treat /usr/local/ as the base directory, (for
> example creating a chroot) so you'd end up with /usr/local/usr/bin/foo
> etc.
>
>
>
> --
> During times of universal deceit, telling the truth becomes a
> revolutionary act.
> George Orwell
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum/attachments/20071216/2fa8ce2e/attachment-0001.htm 


More information about the Yum mailing list