Completely remove Notepad++

20,666

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
Share:
20,666

Related videos on Youtube

Com
Author by

Com

Updated on September 18, 2022

Comments

  • Com
    Com almost 2 years

    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.

    • Pilot6
      Pilot6 almost 6 years
      How did you install it?
    • Com
      Com almost 6 years
      @Pilot6 with apt-get install
    • steeldriver
      steeldriver almost 6 years
      Are you sure you didn't install it via wine?
    • sudodus
      sudodus almost 6 years
      Is it one of the alternatives from this link 7 Best Notepad++ Alternatives For Linux? For example, Is it a snap? Anyway, uninstall depends on the install.
    • user3757405
      user3757405 almost 6 years
      If it's genuinely Notepad++, that would be worth putting in the title.
    • Com
      Com almost 6 years
      @sudodus Well, , maybe it's snap but anyway I get the error when I try to use a command from answer :(
  • Com
    Com almost 6 years
    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
  • karel
    karel almost 6 years
    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