How to Install Notepad++ in Ubuntu Linux

icons on computer screen
icons on computer screen

This article describes steps one can take to install Notepad++ in Ubuntu Linux.

Notepad++ is a free, simple, powerful code editor on Windows and Mac OS systems. For a while now, there has been an alternative to Notepad++ called Notepadqq for Linux systems, including Ubuntu. Notepadqq is not a bad editor, but probably not as feature-rich as Notepad++.

One thing to note is that the open-source version of Notepad++ uses the wine-i386 with Notepad++ portable and Win32 API to get it working on Linux. Therefore, this version may not be as stable as those on Windows and Mac systems.

If you’re from a Windows and Mac OS world and want to install your favorite code editor on Ubuntu, then the steps below are a great place to start.

Get Snap

If Snap isn’t available on your system, you must install it before installing Notepad++. Snap is a powerful package management system for Linux users. It is probably the best and easiest way to install packages on Linux machines, including Ubuntu.

To install Snap, run the commands below

sudo apt-get install snapd snapd-xdg-open

Install Notepad++

Now that Snap is installed, run the commands below to install Notepad++ on Ubuntu.

To install Notepad++, run the commands below.

sudo snap install notepad-plus-plus

You should see a message like the one below when the package is installed.

notepad-plus-plus 7.5.6 from ‘mmtrt’ installed

After installing the package, run the commands below to install a mandatory plugin.

sudo snap connect notepad-plus-plus:process-control

And optional plugins below should probably be installed as well.

sudo snap connect notepad-plus-plus:removable-media
sudo snap connect notepad-plus-plus:hardware-observe
sudo snap connect notepad-plus-plus:cups-control

Next, go to your Activities Overview and search for, then launch Notepad++

notepad++

This is how to get Notepad++ installed on Ubuntu systems.

Conclusion:

This post showed you how to install Notepad++ in Ubuntu Linux. Please use the comment form below if you find any errors above or have something to add.

Posted by
Richard

I love computers; maybe way too much. What I learned I try to share at geekrewind.com.

18 Comments

  1. Leif Wennerberg

    Is there a way to increase the size of the menu and window title text ? (dell xps 13, ubuntu 16.04).

  2. Thanks mate!

  3. Does not lauch notepad++.

    Instructions clearly and strictly followed.

    Got error message: ‘Client is not authorised to connect to ServerClient is not authorised to connect to ServerWine.

  4. Works perfect!!!

  5. How to install hex editor plugin?

  6. Devendra Thakare

    Thank you …!!!

  7. How do i remove notepad++ from Ubuntu 16.04.
    What are the commands.

    1. PastaLittleEggo

      Use this command:
      sudo snap remove notepad-plus-plus

  8. Works well but unable to the save the edited files

  9. Works as charm, thx!

  10. Any idea how to get the npp plugin manager install in ubuntu? or in general how to install plugins?

  11. Hi
    I can not open files in folder like
    /mnt
    /opt/

    running ubuntu 18.04

    Do i need to set special rights?
    where?

  12. don’t works too

  13. Thanks !!! It works

  14. Hi, after install snap when I try to install notepad++ I get this error
    error: cannot install “notepad-plus-plus”: Post
    https://api.snapcraft.io/v2/snaps/refresh: dial tcp: lookup
    api.snapcraft.io on [::1]:53: read udp [::1]:50673->[::1]:53: read:
    connection refused
    Could you help me?
    Thanks

  15. Thank’s that’s very usefull !

  16. Shiva rama krishnan

    Thanks bro, your help is much appreciated.

  17. Does not lauch notepad++.

    Instructions clearly and strictly followed.

    Got error message
    ERROR: not connected to the gnome-3-28-1804 content interface.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: