Your Question: Which Command Will Remove All Files That Belong to a Debian Package?
Contents

Which command will show the dependencies of a Debian package?

By default, apt-rdepends will display a listing of every dependency a package has, and recursively lists the dependencies of the dependencies. The apt-rdepends software can be installed on any modern Debian-based Linux distribution. I’ll be demonstrating on Ubuntu 17.10.

How can you remove a package but not its configuration files with Debian package management?

Remove a package (but not its configuration files): dpkg –remove foo . Remove a package (including its configuration files): dpkg –purge foo .

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest