How to install Notepad++ in Linux? [SOLVED]

Written By - Omer Cakmak

What is Notepad++?

Notepad++ is an open source source code editor for the Windows operating system, developed in C++ and distributed under the GPL. Developed on the basis of the Scintilla editor. Notepad++ can display and colorize code for many programming languages. It has an interface that supports many spoken languages.

In this article, we will explain how to install Notepad++ on the Linux operating system.

Although Notepad++ is a Windows application(Supported OS table), it can be installed on Linux distributions in 2 different ways. We will tell you how to install Notepad++ on both Debian-based and Redhat-based distributions.


Method-1: Install Notepad++ from Snap Store

Snap Store can be activated on many Linux distributions. In this step, we will install Notepad++ from Snap store on Centos 8.

First, the EPEL repository is added to the system:

[foc@centos8 ~]$  sudo dnf install epel-release -y

The system is upgraded:

[foc@centos8 ~]$ sudo dnf upgrade -y

Then the snapd package is installed:

[foc@centos8 ~]$ sudo dnf install snapd

The snapd service is enabled and started at startup:

[foc@centos8 ~]$ sudo systemctl enable --now snapd
Created symlink /etc/systemd/system/ → /usr/lib/systemd/system/snapd.service.

To enable classic snap support, a symbolic link is created between:

[foc@centos8 ~]$ sudo ln -s /var/lib/snapd/snap /snap

Notepad versions in Snap store are as follows:

[foc@centos8 ~]$ sudo snap search notepad
Name                     Version           Publisher                 Notes  Summary
notepad-plus-plus        8.4.9             mmtrt                     -      notepad-plus-plus is a free source code editor.
notepadqq                1.4.8             danieleds                 -      A Notepad++-like editor for Linux.
notepad3                 5.21.905.1        mmtrt                     -      Notepad3 is a fast and light-weight text editor.
notepad-plus-plusminple  7.6               minple                    -      notepad-plus-plus is a free source code editor.

The notepad-plus-plus package is installed from the snap store:

[foc@centos8 ~]$ sudo snap install notepad-plus-plus
2023-02-14T14:39:37-05:00 INFO Waiting for automatic snapd restart...
Download snap "wine-platform-7-devel-core20" (24) from channel "stable"        Download snap "wine-platform-7-devel-core20" (24) from cha…   1% Do
notepad-plus-plus 8.4.9 from Taqi Raza (mmtrt) installed

Many dependencies such as wine are automatically installed during installation. After the installation is complete, open the application by typing "notepad-plus-plus" in the terminal:

[foc@centos8 ~]$ notepad-plus-plus

How to install Notepad++ in Linux? [SOLVED]

Notepad++ installation completed successfully.

How to install Notepad++ in Linux? [SOLVED]

Then just run the following command to update Notepad++:

[foc@centos8 ~]$ sudo snap refresh notepad-plus-plus
snap "notepad-plus-plus" has no updates available


Method-2: Install Notepad++ with Wine

Wine is an emulator for installing Windows applications. In this step, we will install Notepad on Ubuntu, a Debian-based operating system.

First update the package list:

foc@ubuntu22desktop:~$ sudo apt update -y

Then install the wine-stable package:

foc@ubuntu22desktop:~$ sudo apt install wine-stable -y

We will install a 32-bit notepad, download the 32-bit version of notepad with wget:

foc@ubuntu22desktop:~$ wget
--2023-02-13 21:45:00--
Resolving (
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: [following]
--2023-02-13 21:45:00--
Resolving (,,, ...
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4404952 (4.2M) [application/octet-stream]
Saving to: ‘npp.8.4.9.Installer.exe’

npp.8.4.9.Install 100%[=============>]   4.20M   148KB/s    in 25s     

2023-02-13 21:45:26 (170 KB/s) - ‘npp.8.4.9.Installer.exe’ saved [4404952/4404952]

If you are going to install 64 bit, type this link after the wget command: ""

Type the notebook file after the wine command in the terminal, press enter:

foc@ubuntu22desktop:~$ wine npp.8.4.9.Installer.exe

Select the installation language:

How to install Notepad++ in Linux? [SOLVED]

Start installation(Next)

How to install Notepad++ in Linux? [SOLVED]

License Agreement → I Agree

Choose Install Location → Next

Choose Components → NextInstall

How to install Notepad++ in Linux? [SOLVED]

Installation completed successfully.

install Notepad++ to Linux

Notepad's shortcut has been created on the desktop. Right click, click Allow Launching.

How to install Notepad++ in Linux? [SOLVED]

Now you can start using notepad from both the menu and the shortcut on the desktop.



In this article, we installed Notepad++ with 2 different methods on Centos 8 and Ubuntu 22. There are advantages to both methods. A stable and updatable Notepad++ can be installed from the Snap repository. But with wine you can access the latest Notepad++ version.

The choice is yours.


References - Install Notepad++ (WINE) on Fedora - Notepad++ as a linux snap app


Didn't find what you were looking for? Perform a quick search across GoLinuxCloud

If my articles on GoLinuxCloud has helped you, kindly consider buying me a coffee as a token of appreciation.

Buy GoLinuxCloud a Coffee

For any other feedbacks or questions you can either use the comments section or contact me form.

Thank You for your support!!

Leave a Comment