[CentOS] is yum a complete substitute of rpm?
Bowie_Bailey at BUC.com
Mon Feb 15 15:40:28 UTC 2010
Jim Green wrote:
> On 13 February 2010 10:27, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
>> On Sat, 13 Feb 2010, Jim Green wrote:
>> $ rpm -qa # list all installed packages
> yum list installed
I use rpm for basic stuff because it runs faster. For example:
$ time yum list installed
$ time rpm -qa
Yum tends to take a while to read in its databases before it processes
your command. So for simple commands, it is faster to use rpm. On slow
boxes, it can be significantly faster.
More information about the CentOS