List Files from a .deb Package in Ubuntu Linux

How to list all files from a .deb package like rpm -ql on RPM based systems?

Use this command

dpkg -L pkg_name

-L lists files:

-L, --listfiles package-name...
    List files installed to your system from package-name.

More on the dpkg command, check dpkg manual.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *