DevHeads.net

Postings by Pierre Malard

A newbie question about searching an installed packet

Hi,

I’m french and literally one. So I’m not really easy with Sheakespeare language. So, accept my apologies.

As write in subject, I’m a newbie about CentOS an all RedHat declines. I wrote a Shell script for ours Debians (all sort of Debian like) which verify which packets are present before running. I thought I had found an equivalent with « yum list installed | grep <packet> » command but I have sometime alerts about a lock because an other instance of « yum » is running.

I don’t understand why a simple « yum list » impose that!