Inspecting RPM/DEB packages
An RPM package (.rpm) is a package which is used to store files/scripts/conf files on RedHat systems.
Likewise, .deb files (Debian/binary packages) contain similar contents for Debian-based systems.
Let's inspect a simple .deb package provided by ProtonVPN for their CLI VPN client (available here).
To unpack .deb files, you can either use dpkg -c like so;
Or you can simply use tar -x, like so;
Or use dpkg-deb;
This will create the files/directories which would be modified/created if you were to install the package with dpkg.
RPM - TBA
Last updated