"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.
ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard
$84.99
MSI H110M pro-vd 6th/7th Gen Intel DDR4 MATX Motherboard NO I/O SHIELD
$35.00
Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)
$59.99
Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3
$23.99
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard
$54.99
MSI H81I LGA1150 MINI-ITX DDR3 Desktop Motherboard With I/O Shield
$32.99
MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard
$67.99
Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM
$84.00
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$107.30