Learn how to install Notepad++ on Ubuntu 18.04 LTS and up, as well as other Linux distributions like Linux Mint, with this easy guide.
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++.
Notepad++ is famed for its small app size and stellar performance, but currently lacks a native Linux build.
However, the popularity of this text editor with developers has led to a swathe of Notepad++ Linux clones being created, like Notepadqq, and other open source text editors being directly inspired by it.
Top text editors like Gedit, VSCode, Sublime Text 3 and others are available on Ubuntu and other Linux distributions, but many folks (perhaps including you) prefer to use what they know, and that’s Notepad++.
Notable 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.
So whether you’re a long-time fan of this code editor, or someone curious to see if it’s worth the hype (without making a switch to Windows) here’s how to install it on Ubuntu.
Install Notepad++ in Ubuntu Linux
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 things up correctly is 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 Ubuntu Software:
- 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 Ubuntu Software 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!