skip to content
Alvin Lucillo

Viewing actual files inside DEB

/ 1 min read

Viewing the contents of the filesystem that the DEB package will apply to your system can be done with dpkg-deb -c google-chrome-stable_current_amd64.deb.

dpkg-deb -c google-chrome-stable_current_amd64.deb
drwxr-xr-x root/root         0 2025-06-28 09:44 ./
drwxr-xr-x root/root         0 2025-06-28 09:44 ./etc/
drwxr-xr-x root/root         0 2025-06-28 09:44 ./etc/cron.daily/
drwxr-xr-x root/root         0 2025-06-28 09:44 ./opt/
drwxr-xr-x root/root         0 2025-06-28 09:44 ./opt/google/
drwxr-xr-x root/root         0 2025-06-28 09:44 ./opt/google/chrome/
-rw-r--r-- root/root         7 2025-06-28 09:44 ./opt/google/chrome/CHROME_VERSION_EXTRA
drwxr-xr-x root/root         0 2025-06-28 09:44 ./opt/google/chrome/MEIPreload/
-rw-r--r-- root/root       238 2025-06-28 09:44 ./opt/google/chrome/MEIPreload/manifest.json

However, if you want to explore the actual files inside the DEB package, use ar:

ar -t google-chrome-stable_current_amd64.deb
debian-binary
control.tar.xz
data.tar.xz

ar is part of binutils package, which you can install via:

sudo apt update
sudo apt install binutils