This is probably a dumb question--I'm pretty new to Linux, so I apologize in advance.
Doing some research for a gestures app, I discovered libinput-gestures. This Medium article suggests that it is compatible with Ubuntu 20.04. I know that I had installed something similar, and now I want to check if that was the one I had installed. With that background, I did some investigating into how to check if packages are installed. I found apt list --installed and dpkg --list. I know that if I filter down to apt list --installed | grep lib I do see a couple of lib-type packages, as does dkpg --list | grep libinput.
My question is twofold--what are these two package managers used for (clearly they serve different purposes, but Zanna's answer here suggests that the two operate together in some capacity), and how do I know where to search for a package like libinput-gestures?