The Synaptic Package Manager has the option to selection all of the unused packages in "Not Installed (Residual Config)" section.
What I want to know is how do I do this in the Terminal?
I have used the usual commands: apt-get clean/autoclean/autoremove but some unused packages still remain and show up in the Synaptic Package Manager and the Terminal:
$ sudo apt-get clean && sudo apt-get autoremove --purge -y $(dpkg -l | grep '^rc' | awk '{print $2}')
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
(list of packages)
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
How can I use the same function that the Synaptic Package Manager has but in the Terminal?
Bookmarks