rpm –qa是列出所有rpm包后面接管道 |grep softname就是查含有softname的包名 转载于:https://www.cnblogs.com/longshiyVip/p/4808092.html