Find where packages have been installed using rpm

22,819

rpm -ql package should give you a list of all files installed for a given package.

Share:
22,819

Related videos on Youtube

ant2009
Author by

ant2009

Updated on September 17, 2022

Comments

  • ant2009
    ant2009 over 1 year

    CentOS 5.3

    I have been installing some packages using

    rpm -ivh package
    

    However, I am just wondering what command I can use to find the path of where the packages are installed.

    Many thanks,

  • Etan Reisner
    Etan Reisner almost 11 years
    rpm -qpl package.rpm will list the files the package contains before installing it.