How can I install an RPM on a machine where I don't have root permissions? I want to install a package for my use only in a personal work directory. I'm running SuSe SLES10.
Please don't flame me with "This idea is so dumb, you shouldn't do it because all requests must go through the corporate root god, may he live forever."
I know I can request this of the root god, but I'll be shot down (for immaculate, impeccable reasons, I'm sure...). Besides, he'll never get around to installing it even if he does say he'll do it.
Answer
cd my-dir;
rpm2cpio to-install.rpm | cpio -idv
See How To Extract an RPM Package Without Installing It (rpm extract command).
No comments:
Post a Comment