"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.
Lenovo ThinkPad T470 14" FHD Core i7-7600U 2.80GHz Webcam Backlit HDMI USB-C
$265.00
Lenovo Laptop Computer E550 15.6" Intel Core i7 8GB Ram 1TB HDD Windows 10 WiFi
$210.42
Lenovo ThinkPad E15, i5, 8GB RAM, 256GB SSD, No OS
$210.00
Lenovo Yoga 5th Gen 2-in-1 Touchscreen Laptop Pentium 8GB 128GB SSD Windows 11
$119.99
Lenovo Ideapad Gaming 3 15.6" FHD Laptop R5-7535HS RTX 2050 8GB RAM 512GB SSD
$489.99
Lenovo Legion 5 15.6" Gaming Laptop AMD R7 7735HS RTX 4060 16GB RAM 512GB SSD
$869.99
15.6" Lenovo ThinkPad Laptop PC: Intel i5 16GB RAM 1TB SSD Windows 10 Pro
$269.99
Lenovo ThinkPad X1 Nano Gen 1 13" Notebook 2K i7-1180G7 16GB RAM 512GB SSD
$649.99
Lenovo IdeaPad Slim 3 Laptop, 15.6" FHD IPS LED , Ryzen 5 7530U, 8GB, 512GB
$474.99
Lenovo ThinkPad T460 14" Laptop Core i7-6600U 6th 2.60GHz WebCam Backlit HDMI
$190.00