Re: how to specify directory for yum installation
Erming Pei <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
Hi James, I tried with --installroot, and it's not what I want. For example, #yum --installroot=/opt install Soft_pkgs #ls /opt cache/ lib/ ... (all yum stuff, not the software I needed.) Thanks, Erming On 6/22/11 9:31 AM, James Antill wrote: > Erming Pei<[email protected]> writes: > >> Hi, >> >> Does anyone know about that how to specify root directory for yum >> installation? >> I tried with putting $_prefix in .rpmmacros, but it doesn't work. >> And yum --installroot option seems not the solution too. > --installroot does specify the _root_ directory. If you want to > specify the --prefix, you can't do that. >