10

How to completely remove Notepad++ in Ubuntu 18.04 terminal?

I can't find it in Synaptic package manager, and don't know where is on system, but I can see an icon in Activity. It is probably not completely installed, because I can't open it.

karel
  • 110,292
  • 102
  • 269
  • 299
Com
  • 363
  • 2
  • 3
  • 10

2 Answers2

14

Notepad++ (notepad-plus-plus) is a snap package in the default repositories of all currently supported versions of Ubuntu. To remove Notepad++ open the terminal and type:

sudo snap abort --last auto-refresh  
sudo snap disable notepad-plus-plus   
sudo snap remove notepad-plus-plus  
karel
  • 110,292
  • 102
  • 269
  • 299
  • 2
    I don't know why, but there is a bag with Notepad: `error: cannot remove "notepad-plus-plus": snap "notepad-plus-plus" has "auto-refresh" change in progress` – Com Jul 28 '18 at 21:21
  • 1
    I edited my answer with how to stop the "auto-refresh" change in progress. If that doesn't work remove the notepad-plus-plus snap directory with this command: `sudo rm -r snap/notepad-plus-plus` – karel Jul 28 '18 at 21:33
2

Try using this command to remove it while ignoring the "auto-refresh" progress:

sudo snap remove notepad-plus-plus now