How to Install Notepad++ on Ubuntu 20.04 using Snap
Notepad++ is a free source code editor developed by Don Ho as a powerful replacement for the default Windows notepad application. It supports many programming languages and natural languages.
Notepad++ can run on any Linux distribution using WINE, in spite of being a native Windows application. WINE is a compatibility layer that makes running Windows application on Linux possible.
Thankfully, Canonical developed a Snap package for Notepad++ that gets the app running on a Linux machine in one go (with the help of Wine, but without requiring setting up Wine separately).
On Ubuntu 20.04, it’s even easier to set up and install Notepad++ since Snap comes as pre-installed on the latest Ubuntu release.
In this guide, we will see both the command line method as well as the GUI method to install Notepad++ on Ubuntu 20.04.
Install Notepad++ from Command Line
Snap comes as pre-installed on Ubuntu 20.04. If you’d like to know more about it, read our guide on using Snap at the link below.
Read: How to Use Snap to Find and Install Apps on Ubuntu 20.04
Moving onto the installation of Notepad++ (wine). First press
ctrl+alt+t to open terminal.
Then, run the following
snap command to install Notepad++:
snap install notepad-plus-plus
When prompted to enter a password, provide your user password and hit the Enter key.
The installation may take some time if you’re installing a
snap package for the first time on your Ubuntu machine.
Install Notepad++ from Ubuntu Software Center
If you are not a fan of terminal or don’t want to use it for some reason. By all means, feel free to use the GUI method to download and install Notepad++ on your computer.
First, open Ubuntu Software Center on your computer. It should be available on the Ubuntu dock on the left.
On the Ubuntu Software Center window, click on the ‘Search’ button at the top-left corner of the screen.
Then, in the search box, type or paste
Notepad-plus-plus (WINE), press Enter and click on the app from the search results.
Finally, on the app listing page, press the ‘Install’ button to get the app on your system.
If you get a prompt to enter your password, do it and authenticate the installation.
To sum up, we have seen two methods of installing Notepad++ on Ubuntu 20.04. But in case, you wish for a native Linux application. There is indeed an alternative application identical to Notepad++ called Notepadqq.