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

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$174.99
HP Z420 Pro Workstation PC Xeon E5-2660 8-Core 64GB RAM Quadro K5000 128GB SSD
$249.00
Intel Core i7-10700 8-Core 16-Thread 2.9GHz Desktop CPU LGA1200 SRH6Y Z490 Z590
$129.00
SGIN 17.3" Laptop Intel Quad-Core Up to 2.4 GHZ 8GB RAM 256GB SSD HD
$229.99
Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011
$30.00
AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor
$245.99
AMD FX 8350 8-CORE 4.00GHz CPU FD8350FRW8KHK SOCKET AM3+ *QTY
$39.99
AMD Ryzen Threadripper PRO 3945WX 12-Core 4.0GHz sWRX8 CPU NEW Tray Unlocked
$79.99
Dell Optiplex 7050 Micro Core i5-7500 8 GB RAM 256GB SSD Microsoft Windows 11
$89.99
Dell Optiplex 7040 MT, i7-6700 3.40GHz, 16GB DDR4 RAM, NO HDD/OS #95
$65.00