Displaying information on non-installed RPM package?

后端 未结 7 1471
广开言路
广开言路 2021-01-30 19:40

I googled for this, but couldn\'t find how to query a non-installed RPM file for its information:

# rpm -qa blackfin-jtag-tools-09r1.1-2.i386.rpm
# 
# rpm -qi bl         


        
7条回答
  •  一向
    一向 (楼主)
    2021-01-30 20:01

    When rpm is not-installed then (this will list the complete info, plus the list of contents in the package);

    rpm -qipl  
    

    When rpm is installed then;

    rpm -qi 
    

    For more on rpm-queries. For more on handy-queries.

提交回复
热议问题