How to Install Notepad++ on Ubuntu 20.04/18.04 LTS

Can I install Notepad++ on Linux?

No. You can’t.

There is no native installation available for Linux operating system. But, no worries, there is a wine-based snap package available that you can use on any Linux Distros. This snap package helps you to install Notepad++ on Debian, Ubuntu, Mint, and other Linux Distros. 

Wanna know more about the snap, just head on to this article.

The question here is why someone wants to install Notepad++ on Linux. Because, there are many good, free, and open-source text editors available which are really good. You will not miss Notepad++ at all.

If you just want to try Notepad++ on Linux if it works, then this article is for you.

Install Notepad++ On Ubuntu 20.04 Linux

There is no official snap available, it is created by mmtrt user. Refer to this GitHub page for additional details.

Now, login, open the terminal, and run the below command to install Notepad++ on Ubuntu.

sudo snap install notepad-plus-plus
notepad-plus-plus 7.6.6 from Taqi Raza (mmtrt) installed

Once, the installation is complete, just type notepad-plus-plus on the terminal to launch it.

notepad-plus-plus

When you start the first time you get the below message wine configuration is being updated.

wine configuration update

This is how it looks on Ubuntu Linux.

This is how Notepad++ looks on Linux

The installation worked fine for me. But if you face any issue run the below command as per the snapcraft forum. This snap uses the wine-i386 with a notepad-plus-plus portable.

Mandatory Plug

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

Optional Plugs

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

snaps are updated in the background. You can run the snap refresh command to update.

sudo snap refresh notepad-plus-plus
snap "notepad-plus-plus" has no updates available

Summary

Thanks to wine technology, you can have Notepad++ on Linux.

Performance may not be the same as you see in Windows. Ideally, you should not use Notepad++ on Linux as it is not made for it. You can simply remove it using the command given below.

sudo snap remove notepad-plus-plus

Interested to read more about Notepad++, just visit this section on this website.

Share This: