aptitude search installation codes
$aptitude search feh
yields:
i feh - imlib2 based image viewer
where the first letter tells you whether the pkg is installed or otherwise (legend below)
If you want to know what’s installed on your system do:
$aptitude search ~i
or
$aptitude search ~imysql
to find all the pkgs installed with “mysql” in the name.
i - the package is installed and all its dependencies are satisfied.
c - the package was removed, but its configuration files are still present.
p - the package and all its configuration files were removed, or the package was
never installed.
v - the package is virtual.
B - the package has broken dependencies.
u - the package has been unpacked but not configured.
C - half-configured: the package’s configuration was interrupted.
H - half-installed: the package’s installation was interrupted.