"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.
Intel Xeon E5-2697 v4 2.3GHz 18-Core Processor CPU LGA2011 SR2JV
$49.99
Dell Intel® Xeon® Processor E5-2698 v4 Lightly Used
$64.00
Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...
$533.99
AMD Ryzen 7 7800X3D Processor (5 GHz, 8 Cores, Socket AM5), New /Sealed
$309.99
Intel i7-3770 SR0PK 3.40GHz 8MB 4-Core LGA1155 Socket CPU Processor
$29.99
Intel Core i5 Gen 10 I5-10505 3.20 GHz Comet Lake SRH38 FCLGA1200 Processor Used
$60.84
Intel Core i7-14700K Processor (5.5 GHz, 20 Cores, LGA 1700) BX8071514700K, OEM
$339.99
Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc...
$305.99
Intel Xeon E5-2667 V4 SR2P5 (3.2GHZ/8-CORE/25MB/135W) PROCESSOR CPU
$28.99
Intel Core i9-12900KS 12th Gen Processor 5.5 GHz, 16 Core Brand New & Sealed
$264.90