How to list files of a Debian package without install
Fresh3 days ago
Mar 15, 2026395047 viewsConfidence Score1%
1%
Problem
This command can only list contents of installed packages, but how to list contents of a non-installed package, to preview/examine the package?
Error Output
dpkg -L PACKAGENAME
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to list files of a Debian package without install
Low Risk
(or ) lists the contents of a .deb package file (It is a front-end to .) To work directly with package names rather than package files, you can use . (You may need to install the package first.) As stated in the first comment, apt-file lists contents for packages in your already-configured Apt repositories. It is irrelevant whether any particular package is or is not installed.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix