dpkg -l lists all available packages, with their status first on the line.
Something like dpkg -l | grep ^ii should give you
all installed packages. (That's a literal caret (^), not to be confused to represent Ctrl)
The info is also, normally, found in more human readable form in /var/lib/dpkg/status

/Michael

_________________________
/Michael