Skip to content

acidburnmonkey/dnf-purge-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 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.

Installation

copr-build

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

Manual Installation

Simply copy the-purge.py into your current version of python. For example current version : /lib/python3.12/site-packages/dnf-plugins.

check by using python3 --version

or follow this commands

	git clone https://github.com/acidburnmonkey/dnf-purge-command.git
	cd dnf-purge-command
	sudo cp the-purge.py /lib/python3.12/site-packages/dnf-plugins

Usage

Just call it from terminal

sudo dnf purge package1 package2 package3

Recently added support to purge same amout as arguments dnf takes

Switch with --nuke

This will try to manually remove binaries not detected by dnf + any associated service , dont use unless you realy overtaken by rage.

sudo dnf purge --nuke package

Donate.

Buy Me A Coffee

Monero

43Sxiso2FHsYhP7HTqZgsXa3m3uHtxHQdMeHxECqRefyazZfpGVCLVsf1gU68jxJBo1G171AC181q1BqAUaG1m554MLsspG

Bitcon

bc1qk06cyheffclx7x434zpxjzcdl50452r9ducw0x