"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.
pfSense Firewall Router (6) 1Gb Intel Ethernet Ports AES-NI CPU 4GB RAM 80GB SSD
$79.95
OPNsense Network Firewall Router Security Appliance
$79.95
PFSense Firewall - New J4125 chip - 2.5 GbE - 256GB SSD - 8GB RAM - US Seller
$269.95
CISCO ASA5506-X Firewall Unlimited Host FirePOWER ASA5506-K9 Not Affected Serial
$149.99
Palo Alto PA-220 Next-Gen Firewall
$150.00
Palo Alto Networks PA200 Enterprise Firewall Security Appliance PA-200
$34.00
Fortinet Fortigate FG-60D Firewall Network Security Appliance v5.4.7
$29.00
Fortinet FortiGate FG-40F Network Security Firewall
$199.99
Cisco ASA 5516-X Firewall Adaptive Security Appliance / Not Affected Serial
$249.99
Fortinet FortiGate FG-60D-POE Firewall
$39.99