"apt-mark showmanual" will show you all packages that you have manually installed
"apt-mark showauto" will show you all packages that are automatically installed
"apt-mark showinstall" will show you all the packages that are installed
How is this useful? It tells you what packages are installed in your system.
So you can go "apt-mark showinstall | grep somelibrary" to see if you have a particular library installed that's a dependency.
ARUBA J9772A 2530-48G PoE+ 48 PORT ETHERNET SWITCH W/ RACK EARS J9772-60301
$140.23
Arista DCS-7050SX-64 48-Port SFP+ 4-QSFP Network Switch 2x PSU w/Ears Tested
$214.99
Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED
$99.97
Juniper Networks EX2200-C-12P-2G Gigabit Ethernet Managed Switch
$79.99
NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter
$14.99
Netgear ProSafe FS726T 24 Port 10/100 Smart Switch w/2 Gigabit Ports
$19.99
Netgear ProSafe GS116v2 16-Port Gigabit Switch Issue
$14.99
TP-Link TL-SG108 8-Port 10/100/1000 Mbps Gigabit Ethernet Desktop Switch FREE SH
$14.99
Netgear Prosafe 48-Port GbE & 4-Port SFP Managed Network Switch GS752TS
$59.99
Loocam Gigabit PoE Switch 8 Port 96W 2 Uplink Port Unmanaged Ethernet Switch
$62.49