Red Hat RPM Advice
David Kramer
david at thekramers.net
Sat Oct 18 10:38:58 EDT 2003
On Friday 17 October 2003 19:50, karina.popkova at verizon.net wrote:
> I need to install some RedHat RPMs
> I have an old Lap Top with RH 7.3, which runs fine.
>
> I have Cd set and (obviously) the RPMs I need are on disk 4 and 5.
> I can mount CDs and view listing of Pkgs.
>
> Where is appropriate to copy Pkgs,
> prior to install ?
You don't need to. When you execute the program below, you can give it the
path of the .rpm file on the CD without copying it over, and the rpm
command will deal with where to put the files contained in the .rpm file.
> Book at Barnes & nobles says:
>
> use:
> > rpm -Uhv somename.pkg // to install
Note: don't include the // or anything after it.
So let's say that you've got your cd mounted at /mnt/cdrom and the file was
in the i386/RPM directory of the CD, and the package was foo-1.39.rpm.
rpm -Uvh /mnt/cdrom/i386/rpm/foo-1.39.rpm
will do what you want.
> what directory should I copy src.rpms to, from CD,
> prior to install or
> un-archiving pkg into files (?)
You don't need the .src.rpm files if you have the .rpm files. The .src.rpm
files are only needed if you want to compile the package on your machine.
> Then whre should source files reside?
> Assume files end up in /usr/include/linux (???)
Yes (I think), but that's only if you compile a .src.rpm yourself instead of
installing the .rpm files.
.rpm files contain precompiled binaries, and just need to be installed with
the rpm command.
>
> Any advice appreciated
>
> Karina
>
>
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss
--
-------------------------------------------------------------------
DDDD David Kramer http://thekramers.net
DK KD
DKK D "Remember folks - Traffic lights timed for 35 mph
DK KD are also timed for 70 mph."
DDDD Jim Samuels
More information about the Discuss
mailing list