How to list the manually installed packages in Debian/Ubuntu? Sun Oct 09 2011 I searched a lot and couldn’t find the perfect solution. Here’s 2 non-perfect solutions from here and here: Solution One: 1aptitude search '!~M ~i' Solution Two: 1aptitude -F "%p" search \!~M~i~T