Inspect and install a deb package

Check meta info about a package:

dpkg -I package.deb

List files the package will create:

dpkg-deb -c package.deb

Extract deb package into a local folder:

dpkg-deb --extract package.deb

Install the package with dependencies:

sudo apt install ./package.deb

Install the package without dependencies:

sudo dpkg -i package.deb

Code snippets in this post are covered by MIT License.

December 6, 2022