"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.
Dell Optiplex 5080 17-10700 2.9GHz intel vPro 1TB SATA 8 Core 16GB RAM-DVD-NEW
$580.00
Dell i7-6700 Desktop Computer PC up to 32GB RAM, 4TB SSD, Windows 11 or 10, WiFi
$483.42
Lenovo Tiny Desktop PC Intel Core i5 7th Gen 16GB 1TB SSD/HD Windows 10 Pro WiFi
$285.99
8-Core (16-Thread) NVIDIA GAMING PC : 64GB RAM, 5G-WiFi, 1.25TB HDD+m.2 NVME SSD
$549.00
Lenovo ThinkCentre M93p Tiny PC Intel Core i5-4570T @2.90GHz 8GB RAM w/ AC
$69.99
Lenovo IdeaPad 3 14" FHD Laptop Intel Core i5-1135G7 8GB RAM 512GB SSD
$369.99
Lenovo IdeaPad 3 14" FHD Laptop Intel Core i7-1165G7 8GB RAM 512GB SSD
$439.99
Lenovo IdeaCentre AIO 3 27" All-in-One Desktop Core i5-1240P 8GB RAM 512GB SSD
$699.99
Dell i5-6500 Desktop Computer PC up to 16GB RAM, 4TB SSD, Windows 10 Pro, WiFi
$245.16
Lenovo i5-7400T Mini Computer PC up to 32GB RAM, 2TB SSD, Windows 11 or 10, WiFi
$284.12