Very useful tool to extract files from Debian package archive DEB (*.deb) is ar
command. First, let’s download a sample debian package hello_2.10-1_amd64.deb
:
$ wget http://ftp.us.debian.org/debian/pool/main/h/hello/hello_2.10-1_amd64.deb
Now, that we have downloaded our sample Debian package we can use ar
command to list its content. This can be achieved by t
option:
$ ar t hello_2.10-1_amd64.deb debian-binary control.tar.gz data.tar.xz