"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.
16GB 2x 8GB DDR3 PC3L-12800R ECC REG Server Memory RAM for Dell Precision T5500
$25.99
8GB 2X4GB DDR3 PC3-12800U Desktop Memory Ram DELL HP LENOVO ACER GATEWAY
$19.99
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$23.99
A-Tech 8GB 2x 4GB 2Rx4 PC3-10600R DDR3 1333 MHz ECC REG RDIMM Server Memory RAM
$14.99
8GB PC4-2400T DDR4 Laptop SODIMM RAM Memory - Samsung/SK Hynix/Kingston/Crucial
$17.99
4GB PC3 12800 Desktop Memory - Mixed Brands
$5.52
16 GB (2 x 8GB) SK Hynix DDR3 Desktop Memory RAM PC3-12800U HMT41GU6AFR8C-PB
$31.95
Patriot Viper Gaming 8GB (2 x 4GB) DDR4 UDIMM 3200MHz PC4-25600 Desktop Memory
$29.00
Hynix 4GB PC4-17000 DDR4-2133MHz DDR4 288-Pin Desktop Memory HP 798033-001
$9.95
Samsung 16GB 2Rx4 PC4-2133 RDIMM DDR4-17000 ECC REG Registered Server Memory RAM
$31.99