Install NotePad++ on Ubuntu 22.04 LTS Linux using SNAP

Learn the simple steps to install NotePad++ on Ubuntu 22.04 LTS Jammy JellyFish Linux using the command terminal for writing programs.

Free Notepad++ is based on the Windows Notepad Editor but functionally for writing programs. Therefore, we cannot install Notepad++ on the Linux system simply by using its package manager such as APT. In such a situation, we have to take the help of Wine – a free and open-source compatibility layer to run Windows applications.

On one hand, notepad.exe on Windows is suitable for making short notes, the Notepad++ program goes beyond. Any person who writes code would already know about this app. It offers functions such as syntax highlighting, which highlights certain entered code blocks in color. This improves the overview.

In addition to TXT, there are entries for Batch, C++, C#, JavaScript, PHP, PostScript, Windows PowerShell, Python, R, the Windows Registry (*.reg), Ruby, Swift, and Visual Basic. Users just need knowledge of the programming languages, Notepad++ makes things easier but does not take away your know-how here.

Steps to install NotePad++ on Ubuntu 22.04 LTS Linux

1. Requirements

To perform this tutorial we need…

Ubuntu Linux
A non-root user with sudo rights
Terminal Access
Internet connectivity


2. Run system update

It is a good practice to run the system update command before installing any software on Linux. This ensures our system is up to date and also refreshed the repo cache.

sudo apt update && sudo apt upgrade

3. Install Notepad++ on Ubuntu 22.04 Linux

Notepad++ is not available for Ubuntu Linux. Therefore, to install it on the Linux system we need Wine (windows program loader for Linux) and NotePad++ installer. However, instead of installing Wine on our system, we can use SNAP. Yes, there is an unofficial Snap package available in the Snapcraft repository. The project is available on GitHub.

The good thing is on all the latest versions of Ubuntu, SNAP comes by default therefore we don’t need anything extra. Just run the given commands:

sudo snap install notepad-plus-plus
sudo snap connect notepad-plus-plus:removable-media
sudo snap connect notepad-plus-plus:cups-control

You have to wait for a few minutes…

4. Run Notepad++

Once the installation is done, we can run it like any Linux application. Go to Ubuntu’s Application launcher, search for Notepad++, and click to run it, when the icon for the same appears.

Run Notepad Linux

We can also get dark mode in Notepad++, but a little hard to find. First, click on “Settings then Styles” in the menu bar to open the design menu. Under “Select theme” you will find a few themes to choose from, with “Default” being the default setting.

There are several dark themes to choose from: “Dark Mode default” is the normal mode with predominantly black and gray tones. But “Obsidian”, “Deep Black”, “Twilight” or “Zenburn” also offer a dark background. However, the problem is – the menu bar remains bright all the time. You can then use the distraction-free mode, which you can access via “View” in the menu bar. This will hide the top menu and you’re left with a completely dark editor. use the plus button at the top right to exit the mode.

Install NotePad on Ubuntu 22.04 LTS

5. Update or Upgrade Notepad++

Well, we have installed Notepad++  using SNAP package manager, therefore, updating it is also quite easy. Here is the command to do that.

sudo snap refresh notepad-plus-plus

6. Uninstall or remove

In case after some time you don’t require Notepad++ anymore on Ubuntu 22.04 Jammy Linux, we can remove it using the SNAP command as well. Here is that:

sudo snap remove notepad-plus-plus

Ending notes:

In this way, we can easily get Notepad++ without installing Wine manually on Ubuntu 22.04 LTS or 20.04 LTS. The above-given guide can be used on any Linux system that supports SNAP such as Fedora, AlamLinux, Linux Mint, and more…

Other Articles:

How to Install FeatherNotes on Ubuntu 22.04 | 20.04 LTS
Install Zoom client on Ubuntu 22.04 LTS…
Install Kylin Desktop on Ubuntu 22.04 Jammy

1 thought on “Install NotePad++ on Ubuntu 22.04 LTS Linux using SNAP”

  1. I tried all of the suggestions I’ve seen so far (several). I have uninstalled, re-installed multiple times. Notepad++ still won’t launch after upgrade from 20.04 to 22.04 LTS


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.