Extract Debian Package Without Installing It on Ubuntu

Extract Debian Package Without Installing It on Ubuntu

Debian package (.deb) is an archive file that contains a collection of files such as executable files, documentation, libraries, and configuration files associated with an application which can be installed on the system. This tutorial shows how to extract a Debian package without installing it on Ubuntu.

Download Debian package for testing:

wget -qO ddosify.deb https://github.com/ddosify/ddosify/releases/latest/download/ddosify_amd64.deb

Use dpkg-deb or dpkg command with -x option to extract Debian package into the specified directory:

dpkg-deb -x ddosify.deb extracted
dpkg -x ddosify.deb extracted

Directory contents:

extracted/
└── usr
    └── bin
        └── ddosify

Leave a Comment

Cancel reply

Your email address will not be published.