On Tue, 14 Aug 2001 22:07:04 -0400
Tim Wunder <[EMAIL PROTECTED]> wrote:
> How do I change the location where RPMs get installed?
> I've just downloaded the Caldera eW3.1 SRPMs for KDE 2.2 from the KDE
> site. I
> believe that if I just 'rpm --rebuild' them, then 'rpm -Uvh' them,
> everything'll get placed in /opt/kde2 ('cept QT, of course). I'd like
> them to
> get placed in /opt/kde22.
that can be done (see below)
> Currently, my kde2 directory is a symlink to KDE211, I could always
> remove
> that and then change the dir name later and recreate the symlink. But
That's one way to do it...
> I
> thought I read somewhere how to redirect the install directory while
> building
> the SRPM.
You'd need to edit the .spec file(s). To do this you install the
.src.rpm's using rpm -i <name>.src.rpm. this installs them into
/usr/src/OpenLinux/SPECS (from memory, sorry). Open the .spec file in an
editor and you can change the install location from /opt/kde(2) to
anyplace you'd like. After editing, build the rpm (while you are in the
spec file directory) using rpm -bb <name>.spec, the resulting .rpm file
will be in /usr/src/OpenLinux/RPMS/i386.
> The goal is to easily revert to the old KDE 2.11 if things don't work
> out
> right.
that should do it =)
> Regards,
> Tim
>
> Apologies for the on-topic, linux post ;-(
somebody had to do it!
--
Myles Green Calgary AB Canada
Alberta Step by Step Mirror:
http://www.telusplanet.net/public/mylesg/
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc
->http://linux.nf/mailman/listinfo/linux-users