Skip to content

acidburnmonkey/dnf-purge-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dnf-purge-command

This is a plugin for DNF . It will call for uninstallation of the given package and seek to remove the dangling configuration files unlike the normal dnf remove command . It can also be used to check and remove old configs of programs that are not currently installed. (DNF 5 does not support community plugins it has to be ran independently).

Installation

copr-build

sudo dnf copr enable acidburnmonkey/purge-command
sudo dnf install purge-command

Manual Installation

git clone https://github.com/acidburnmonkey/dnf-purge-command.git
cd dnf-purge-command
sudo cp the-purge.py /usr/bin/purge
sudo chmod +x /usr/bin/purge

Usage

Just call it from terminal

sudo  purge package1 package2 package3

Recently added support to purge same amount as arguments dnf takes

Switch with --nuke

This will try to manually remove binaries not detected by dnf + any associated service , don't use unless you really overtaken by rage.

sudo purge --nuke package

Donate.

Buy Me A Coffee

Monero

43Sxiso2FHsYhP7HTqZgsXa3m3uHtxHQdMeHxECqRefyazZfpGVCLVsf1gU68jxJBo1G171AC181q1BqAUaG1m554MLsspG

Bitcoin

bc1qk06cyheffclx7x434zpxjzcdl50452r9ducw0x