In this easy-to-follow guide we show you how to install Notepad++ on Ubuntu 18.04 LTS and up.
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 lacks a native Linux build.
The popularity of the editor with developers has led to a swathe of Notepad++ Linux clones, like Notepadqq, being built, as well as a set of other open source text editors directly inspired by it.
While apps like Gedit, VSCode, Sublime Text 3 and others are available on Ubuntu and other Linux distributions, many folks (perhaps including you) prefer to use what they know, i.e. Notepad++.
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.
To install Notepad++ in Ubuntu 18.04 LTS and above all you need to do is pop open the Ubuntu Software app, search for ‘notepad++’ by name, and click on the search result that appears.
Alternatively, to jump straight to the famed code editor’s listing in the Ubuntu Software store, smudge the button below:
If you prefer to do things by hand you can run the following command on any Snap-supported Linux distribution to install Notepad++ via the terminal:
sudo snap install notepad-plus-plus
However you install it, once the the Notepad++ Snap app is fully installed you can go ahead and launch it from the Applications Overview (or similar). It may take a few seconds to load, but once it’s up, it’s ready to go — no further tweaks necessary (unless you want to).