I want to remove the package, but I forgot how I installed it through
I try to check through
dpkg-query -list | grep myPackage and
apt list --installed | grep myPackage, but myPackage was shown on both.
so how can I tell whether the package was installed by dpkg or apt ?
In order to do the correct uninstall command, like:
apt-get remove or