Sometimes you require a certain file from a Debian .deb package. For example, because you accidentally deleted a file. Or because the package’s installation is faulty and it can’t be restored without first adding the missing file. This FAQ explains how to extract the contents of a.deb file downloaded from the Debian or Ubuntu repository.
Save the Debian package file to your computer. I’ll download the dovecot package in this example:
cd /tmp apt-get download dovecot
Now extract the .deb package into the directory /tmp/extract/:
dpkg-deb -x *.deb /tmp/extract/
The post How to download and extract a .deb package on Ubuntu or Debian Linux
The history of computing is a story of incredible change, but not every revolution happens…
Welcome to the Ubuntu Weekly Newsletter, Issue 913 for the week of October 5 –…
Ubuntu 25.10, codenamed “Questing Quokka”, is here. This release continues Ubuntu’s proud tradition of integrating…
The latest interim release of Ubuntu comes with compatibility enhancements at the silicon level, accessibility…
Oracle Kubernetes Engine now supports Ubuntu images for worker nodes natively, with no need for…
Happy birthday, OpenStack! It’s astonishing how fast time flies – fifteen years already. Yet, here…