RE: How to install a specific package?

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

 



Stuart,

Thanks for your answer so far. The only thing I am worrying about is that if
I'm installing an rpm "manually", will it be correctly identified as
"installed" by the redhat package manager and will I get the updates via
RHN?

Greetings,

Erich

-----Original Message-----
From: Stuart Sears [mailto:stuart@xxxxxxxxxxx] 
Sent: Monday, August 15, 2005 12:11 PM
To: General Red Hat Linux discussion list
Subject: Re: How to install a specific package?

erich.iseli@xxxxxxxxxxxxxxxx enlightened us with the following gems on
08/15/2005 10:43 AM:
> Hello list,
> 
> This question might seem really stupid but I've been trying to find how
> Redhat lets me search for a substring of a package name, then list me the
> packages it found, lets me check the packages I need and prompt me for the
> right CD to install.
> 
> - The package manager available on Redhat lets me check some packages and
> prompts for the CD(s) BUT doesn't let me search for packages. So if I am
> looking for a given library for example, I have to go through the many
> categories until eventually I find it. Sometimes I don't even find it
> because it is hidden in some arcane place...
the easiest way top find out which package provides a given library is
rpm --redhatprovides <filename/path>
which will take either full paths or just filenames

> - on the shell, I can rpm -iv any package, but to do this, I first need to
> go through all the CDs and see on what CD the package is available.

> I almost can't believe Redhat doesn't provide a tool which is available on
> every distro I've met so far (synaptic on Debian, Mandrake package manager
> on now Mandriva or yast on Suse)...
RH (at least the Enterprise releases) expects you to use up2date and Red
Hat Network for this kind of thing - at which point the CDs become
unnecessary except for the original installation.

system(aka redhat)-config packages sucks if you have done any updates at
all since installation.
you could always mount the various CDs and generate a package listing
for each... (examples for RHEL4, for RHEL3, /media=/mnt)
mkdir rhdisks
do this for each CD:
mount /media/cdrom
ls /media/cdrom/RedHat/RPMS > rhdisks/disk<number>.txt

once this is done all you need to do is
1. figure out which package you need
2. grep -r 'packagename' rhdisks/
which should return the relevant filename and line.

or you could set up a local installserver with your CDs instead.

HTH

Stuart

-- 
Stuart Sears RHCE RHCX
die_if_kernel("Penguin instruction from Penguin mode??!?!", regs);
        linux-2.2.16/arch/sparc/kernel/traps.c

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux