Which of the following commands lists all currently installed packages when using RPM package management?
A. yum –query –all
B. yum –list –installed
C. rpm –query –list
D. rpm –list –installed
E. rpm –query –all
Which of the following commands lists all currently installed packages when using RPM package management?
A. yum –query –all
B. yum –list –installed
C. rpm –query –list
D. rpm –list –installed
E. rpm –query –all
rpm –query –all
yum list installed
works both. The other options are nonsense.
Answer E only works with 2 minus signs before the option
rpm -query -all does not work
rpm -q -all works!
Tested with suse 42.2