Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Red Hat RPM Advice



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 




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org