In this tutorial we show you how to install Notepad++ on Ubuntu, Linux Mint, and other Ubuntu-based Linux distributions.
Few text editors are as famous or as well loved as Notepad++, a free, open-source code editor built for Windows and written in C++.
But although Notepad Plus Plus (to say it aloud) is popular with developers due to small app size, good feature set, and decent performance, a native version of the app is not currently available for Linux.
To fill the gap a swathe of Linux alternatives to Notepad++ have been created including Notepadqq, while other popular code editing tools say they were directly inspired by it.
So what makes Notepad Plus Plus so special? Why do developers and coders love using it?
Notepad++ features include:
- Tabbed interface for working with multiple files
- Syntax highlighting and folding
- Text search/replace
- Configurable GUI
- Automatic word/function completion
And much, much more.
There are several great text editors available on Ubuntu (and other Linux distributions) including Gedit, VSCode, Sublime Text 3 and more — but some people just want to use what they know!
So if you’re a long-time fan of this code editor, or just curious to see if it’s worth the hype (without making a switch to Windows) here’s how to install Notepad++ on Ubuntu.
Install Notepad++ in Ubuntu
It’s long been possible to install and run Notepad++ on Linux distributions like Ubuntu using Wine, a ‘Windows’ compatibility layer.
While Wine is great software, the hurdles and effort required to configure and set it up correctly is often more effort than many folks are willing to spend.
Enter Snapcraft, an easy way to package and distributions apps on Linux with all their dependencies and configurations pre-set.
Thanks to Snappy, it’s easy to install and run Notepad++ on Ubuntu (and other Linux distributions) without needing to manually install Wine first. The Snap package ships with a pre-configured Wine environment ready to go.
And because Snap apps are isolated from the rest of the system this won’t affect any existing Wine installs.
You can install Notepad++ in Ubuntu 18.04 LTS and above using the Ubuntu Software app:
- Open the Ubuntu Software app
- Search for ‘notepad++’
- Click on the search result that appears and click install
You can also get to the code editor’s listing in the store by clicking this button:
Finally, if you prefer to do install using the terminal you can run the following command on any Snap-supported Linux distribution to install Notepad++:
sudo snap install notepad-plus-plus
Once install is complete go ahead and open Notepad++ from the Applications Overview or another app launcher/menu. The notepad app may take a few seconds to load, but once it’s up, it’s ready to go!