0

How to delete all files pertaining to a recently installed program that has not worked? I think no one wants to fill their computer with odd bits and ends from aborted installations, dependencies that don‘t pan out &c.

I suppose that I could use a package manager for that, such as Synaptic. But how?

My immediate concern here is how to get rid of all files related to LanMessenger, which I’ve been trying to make work with no success, but seems to keep asking for more and more dependencies. The last time this sort of thing happened, I ended up freezing everything, and it took me days to be able to boot again.

Pabzum
  • 69
  • I thought of that, but the thing is I don’t even know what name LanMessenger travels under. I‘ve already tried ‘lan-messenger’ and ‘lan-msg’, to no avail. Is there an “undo-the-last-[3]-steps” command? – Pabzum Nov 16 '16 at 14:18
  • Try sudo apt-cache search lan-messenger to look for packages – TheOdd Nov 16 '16 at 14:21

1 Answers1

2

You can remove all the files belonging to a given package by using

sudo apt purge <package name>

So in your case:

sudo apt purge LanMessenger

If you also want to remove dependencies which are no longer used, you can then run:

sudo apt autoremove

Cirelli94
  • 616
michael
  • 254
  • 1
  • 9