RPM dependencis

Stuart Sears stuart at sjsears.com
Mon Oct 24 14:50:15 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Raghavendra B wrote:
> On 10/21/05, Sean O Sullivan <seanos at seanos.net> wrote:
> 
>>Ed Wilts wrote:
>>
>>>On Fri, Oct 21, 2005 at 11:46:47AM +0530, Komal wrote:
>>>
>>>
>>>>>Use yum.
>>>>>"yum install mysqlclient"
>>>>>or 'yum install mysql-server'
>>>>>
>>>>>Read into yum - it's there to deal with dependencies so you don't
>>>> have to.
yum is very useful fort his kind of thing.
try this:
yum localinstall mysql-3.23.58-9.i386.rpm

> how abt trying
>  rpm -ivh --aid <package name>
>  --aid option does take care of the dependencies and will install the
> dependent packages also.
> plz let me know if i am right or wrong.
in some circumstances you are correct.
this would require an up to date local database of all the dependencies
for these packages - on RHEL systems this is provided by the
rpmdb-redhat package. Which, if you update your system regularly (as you
arguably should) get quickly out of date. It doesn't actually tell rpm
where to find dependencies either, hence the use of yum (and on RHEL,
up2date) to install packages...

Regards,

Stuart
- --
Stuart Sears RHCE RHCX
printk("Penguin %d is stuck in the bottle.\n", i);
        linux-2.0.38/arch/sparc/kernel/smp.c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDXPSnamPtx1brPQ4RAr/cAJ9e3qOJdjZSWRvTXHr3FTX6kev/LQCfQPwg
8st4Lf1Y8jVhX2K3yarVnLo=
=fDjk
-----END PGP SIGNATURE-----




More information about the redhat-list mailing list