How would I go about writing a script to get the same list of installed software as reported by the Ubuntu Software Center?
Every reference I can find mentions either dpkg -l or rpm -qa (or some variant thereof), but these typically include every single last package and library and what-not, and you end up with a list of 1000+ entries.
The Ubuntu Software Center app however shows a much of concise (and human-friendly) list--currently 67 items on my Ubuntu box. This is the sort of list I'm interested in. Can anyone point me to a script that can obtain something similar? Preferably something that can run on other distributions, but I'll take whatever I can get.
Thanks.