Trond Eivind Glomsr?d [Mon, Oct 15, 2001 at 02:02:52PM -0400]: > Margaret Doll <[EMAIL PROTECTED]> writes: > > > Dear group, > > > > I am trying to install xemacs on my 7.1 system. xemacs needs > > > > libRKC.so.1.0 > > libcanna.so.1.0 > > libwnn6.so.1.0 > > > > How do I find the rpms that contain these libraries? I am trying to > > find a solution through rpm > > 1) You can use up2date - "up2date xemacs" will download and install > xemacs and its dependencies. You also have the "--solvedeps" > option. > > 2) If you have rpmdb-redhat installed, you can do > rpm -q --redhatprovides libRKC.so.1.0 > > -- > Trond Eivind Glomsr�d > Red Hat, Inc. > > > > _______________________________________________ > Seawolf-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/seawolf-list
If you dont have the rpmdb-redhat installed, you can use this provided you
have all the rpms someplace. This is kinda slow since it searches every
rpm, but it works.
#!/bin/bash
clear
echo -en "Enter the name of the file you are looking for inside the RPM's: "
read FILE
SPINNER=("\\" "|" "/" "-")
C=0
for i in /library/RH71/RedHat/RPMS/*.rpm; do
rpm -qpl $i | grep $FILE >/dev/null && echo $i
echo -en "${SPINNER[$C]}"
echo -en "\b"
C=$(echo "scale=0; ($C+1)%4" | bc -l)
done
--
Chris S.
PGP 0xDA39672B
msg04254/pgp00000.pgp
Description: PGP signature
