--purge
see man apt-get and man dpkg
hi,
I'm tring to remove all the X and KDE stuff...
the packges are removed successfuly, but many times
I get "directory used" and some such...
Later the packges are still seen in dpkg -l, which is annoyng..
i cant figure out what is left and what I already deinstalled...
Is thre a way to remove totaly packge so that it is both -
deleted from "dpkg -l" and all files correspondending to it be
removed too...
--purge
see man apt-get and man dpkg
doesnt helpOriginally Posted by Ghandalfar
#dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n
.....
23032 libwine
26824 gimp
31908 mozilla-browser
33048 kernel-image-2.4.22-xfs
35904 emacs21-common
39476 tetex-extra
53868 tetex-base
# apt-get --purge remove tetex-base
Reading Package Lists...
Building Dependency Tree...
Package tetex-base is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 353 not upgraded.
the same is with the all other packges I want to remove !!?!?
Try dpkg -l | grep ii that will give you a list of the packages actually installed. dpkg will list all available packages in its database not just the installed ones.

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99
INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99
Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested
$35.00
LAST BATCH *Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5
$768.00
Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99
Intel Core i7-3770K 3.5 GHz Processor
$39.00
Intel Core I7-7700 SR338 3.60 Ghz Processor
$39.99
Intel Core i7-7700K SR33A 4.20GHz 4-Core LGA1151 CPU Processor
$62.95
Intel Core i7-12700 12 Core X208K805 LGA 1700 AS IS
$99.99
AMD - Ryzen 7 5800X3D 8-Core - 16-Thread 3.4 GHz (4.5 GHz Max Boost) w/ Ice Pad
$355.99