单项选择题

用rpm查询系统中是否安装了firefox浏览器,下面做法正确的是()

A.rpm -q firefox
B.rpm -l firefox
C.rpm --list firefox
D.rpm --search firefox