On my Kubuntu 18.10 19.04 system, I have a software installed (in this case: the Arduino IDE), which I would like to completely uninstall.
- I cannot remember how I installed it, but it does not show up in
dpkg --list
or the software center andapt-get purge
won't find it. I'm pretty sure it was installed without any package manager. - I downloaded the current (newer than installed) version from the developer's website (https://www.arduino.cc/en/Main/Software), which includes an
unistall.sh
script. But the only effect it seems to have is that the launcher shortcut (which is still there, for that matter) doesn't work anymore - the software can still be run from terminal (by simply typingarduino
).
What, generally, are the steps to take to manually uninstall software from my system? I assume it's mainly deleting files, but how do I locate them all? Are there any databases I need to un-register the software from?
All your
sudo
commands are logged in/var/log/auth.log
and it'slogrotate
d history. Find the commands you used to install it there.Alternatively, you could install the
installwatch
, package, read the docs, and re-install the old package withinstallwatch
keeping an eye on things.2nd alternative- inspect (
tar tvf
or equivalent) the original (or re- downloaded original) archive.