Re: CentOS 5.3

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Jones
Date:  
To: Main PLUG discussion list
Subject: Re: CentOS 5.3
Alex Dean wrote:
>
> On Apr 1, 2009, at 1:40 PM, Eric Shubert wrote:
>
>>
>> yum list | grep openmpi     # (checking to see if it is installed)
>> yum list | grep lam         # (checking to see if it is installed)

>
> I think this will only find packages which were installed by yum.
>
> If you download an RPM to a machine (wget, scp, etc) and install it
> using the 'rpm' command, it will not be found by 'yum list'. Seems
> like a big oversight, but that was my experience on some RHEL5
> machines I was an admin for. (I used RHEL4 more, and it still used
> up2date. yum is much superior but I didn't have as much experience
> with it.)

To see if something is installed its best to do "rpm -qa |grep packagename"
If you want to see if there is an upgrade for a package, you would do
"yum check-update" and optionally pipe that to grep for a packagename

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss