2

This question already has an answer here:

I'm seeing a potentially problematic issues here when I use the command line:

dpkg -l | grep macchanger 

It would list macchanger and the version with no problems.

I recently uninstalled this buggy version I had via:

apt-get remove macchanger

Then reinstalled it but I manually compiled and installed it from sources from GitHub. Now when I use:

dpkg -l | grep macchanger 

I get absolutely nothing and the issue is that I want to be able to keep track of the package.

marked as duplicate by Elder Geek, WinEunuuchs2Unix, waltinator, TheWanderer, Eric Carvalho Nov 30 '16 at 16:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

Debian Package Management System only keeps track of packages installed by dpkg and other utilities based on it. Installing from source code (Compiling the source and installing produced files) is another way to install packages. This means that packages installed by compiling their source code isn't listed in dpkg -l and cannot be removed using dpkg -r. The only way to remove a package installed by compiling it source is issuing this command in compile directory of it:

make uninstall

Please note that some source codes don'y support make uninstall.

In some cases you can download .deb of that version and installing by dpkg -i command. This way need high knowledge of package management in Ubuntu because a mistake cause broken dpkg database.

Not the answer you're looking for? Browse other questions tagged or ask your own question.