"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.
AMD Ryzen 5 5600X 6-core 12-thread Desktop Processor - 6 cores And 12 threads
$212.49
AMD Ryzen 9 5900X 12-core 24-thread Desktop Processor - 12 cores And 24 threads
$419.99
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$379.99
Intel - Core i5-12600K Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unloc...
$279.99
Intel - Core i9-10900K 10th Generation 10-core - 20-Thread - 3.7 GHz (5.3 GHz...
$389.99
Intel Core i9-10900K Unlocked Desktop Processor - 10 cores And 20 threads
$389.99
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$589.99
Intel Core i9-12900F Desktop Processor - 16 Cores (8P+8E) And 24 Threads
$489.00
Intel Core i7-4790 3.60GHz Socket LGA1150 Desktop CPU SR1QF
$53.99
Open Box - Intel Core i3-10100F Comet Lake Quad-Core 3.6 GHz Desktop Processor
$62.95