-4

I have transferred to linux 3 days ago and there are so many things that I love about it but at the same time I am starting to grow tired, because majority of stuff just does not work as it is supposed to.

For example I have read that you need to execute

sudo apt --purge remove $packagename

command to remove a program and its configuration files, but it just does not work for me! I messed up with Evolution a little bit annd I want a clean install now and when I do that command and then reinstall it again, I am getting Evolution package with all my emails inside it already together with all the changes I have made of course.

So how the hell do I remove the program completely out of ubuntu system, together with it config files, installation files, JUST EVERYTHING THAT'S RELATED TO THAT SPECIFIC PROGRAM.

m27
  • 427
  • 1
  • 5
  • 18

2 Answers2

2

This is a common new-user and didn't-quite-understand-the-manual question.

apt remove <package> removes the application only.

  • Configuration (/etc) is NOT removed.
  • Personal data (/home) is NOT removed.

apt purge <package> removes the application and configuration.

  • Personal data (/home) is NOT removed.

No apt command removes personal data in /home. You must delete that yourself.

user535733
  • 68,493
0

As the answer by @user535733 said, it's not removed from /home. If you messed up the installation, you'd be better off reinstalling ubuntu. Don't worry, it happens

Sam Pan
  • 363