How can I remove compton from Ubuntu 23.04
which compton
/usr/local/bin/compton
And with
apt list | grep compton
compton 1-1 [Ubuntu/lunar universe]
compton-conf 0.16.0-1ubuntu1 [Ubuntu/lunar universe]
But when I tried to remove
Package 'compton' is not installed, so not removed
Thanks
The binary
compton
on your system was not installed using the APT package manager. This can be seenapt list | grep compton
does not feature[installed]
/usr/local/bin/
, whereas APT managed binaries will be installed under/usr/bin
or/usr/sbin
.Packages may end up under
/usr/local/bin/
as a result of an install script (sudo make install
after compiling source code, for example) or may have manually been copied there. Only the administrator of your system can tell specifically how the package was installed.If the package that was installed featured an uninstall script, you can use that to remove the program. Else, you will need to manually remove the installed files. The tool
whereis
may list other installed files as long as they also havecompton
in the file name, for example aman
page.