From: Jörg-Volker Peetz <jvpeetz@web.de>
To: debian-user@lists.debian.org
Sent: Sunday, June 1, 2014 12:09 AM
Subject: Re: Remove unwanted, orphaned files and dependencies
Thanks for your help, Jorg.
> The aptitude command offers some help:
I read somewhere on the internet that Debian discourages its users to use the 'aptitude' command. Debian encourages us to use the 'apt' command. Is that correct?
> $ aptitude search '~c'
What is the equivalent 'apt' command?
> $ aptitude purge '~c'
The
equivalent of the above using 'apt' command is.......?
> $ aptitude purge $(aptitude -F "%p" search '~g')
And the equivalent of '$ aptitude purge $(aptitude -F "%p" search '~g')' using 'apt' command is.....................?