[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing rpms
On 14-Aug-2001 Jason Ish wrote:
> Look at /usr/ports/emulators/redhat_base/Makefile
>
> You will need at least these options:
> --ignoreos --ignorearch --root /emul/linux --dbpath /var/lib/rpm
> and quite possible --noscripts and --nodeps.
> Note that dbpath is relative to --root.
>
Thanks for the tips. Using those options I was able to install the rpm package
that I had wanted. I had read the man page for rpm, but sometimes one's eyes
glaze over reading some of the longer pages. Ah well, that's my fault for
getting impatient and skimming over the material. :)
> You may also want to try rpm2cpio to just extract the files you need
> from the rpm.
>
I had tried this with the rpm that I had had, but it didn't seem to want to
work. Maybe there was something wrong with the package (it kept complaining
about the package's headers), then again I may not know enough about what I'm
doing. Next rpm I ever download I'll have to make sure to try it again and see
what happens.
Thanks again,
Steve