I'm using a Debian cloud instance and am wondering how to list all of the packages that have been installed manually, e.g. by using dpkg
on a .deb
file, as opposed to via the package manager apt
.
I tried apt list --installed | grep <pkg_name>
but there's no hint as to how the items shown in result were installed.
Is there any command / procedure by which I could find this out?
Thanks.
dpkg -l
will do that