Issue
Need to view all the packages installed on my system through terminal. I am using ubuntu 16.10
Solution
# dpkg -l
From dpkg manual:
dpkg-query actions See dpkg-query(1) for more information about the following actions.
-l, --list package-name-pattern... List packages matching given pattern. -s, --status package-name... Report status of specified package. -L, --listfiles package-name... List files installed to your system from package-name. -S, --search filename-search-pattern... Search for a filename from installed packages. -p, --print-avail package-name... Display details about package-name, as found in /var/lib/dpkg/available. Users of APT-based frontends should use apt-cache show package-name instead.
Answered By - Zumo de Vidrio