Completely remove Notepad++

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.


Solution 1:

IMG:  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  

Solution 2:

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

sudo snap remove notepad-plus-plus now