How to Install Notepad++ on Linux: 2 Methods

  • How to Install Notepad++ on Linux: 2 Methods

For Notepad++ Linux, we would like to tell you to listen carefully and follow what we will tell you on this subject. Now friends Linux is not available locally in this case, but we still want to tell you that you can install it on your Linux machine using these methods.

Key Takeaways

For Windows users, Notepad++ is a well-liked source code editor, but Linux users cannot use it. Fortunately, Wine or Snap may be used to install it on Linux.

WineHQ signing key must be added, the system's package list must be modified, and Wine needs to be set up in order to use Wine to install Notepad++ on Linux. After that, you may use Wine to download and install Notepad++.

Another approach, which is simpler and workable with any Linux distribution, is to install Notepad++ on Linux using Snap. Simply install Snap while installing Notepad++ with the command "sudo snap install notepad-plus-plus".

How to Install Notepad++ on Linux: Windows users frequently utilize the source code editor Notepad++. It includes a ton of tools to enhance text editing and supports about 80 different programming language syntaxes.

One caveat of Notepad++, however, is that we would like to tell you that in this case it is limited to the Windows operating system only. So, if you've been a long-time Notepad++ user and have recently switched to Linux, you'll probably feel the emptiness of Notepad++ very deeply. We, as the techdataz team, have experienced and evaluated this for you. Fortunately, there are several ways to get Notepad++ on Linux. Let's take a look at these methods to install Notepad++ on Linux.

Method 1: Install Notepad++ on Linux Using Wine

Now friends actually: One of the preferred ways to install Notepad++ and other Windows programs on Linux is to use Wine. We would like to hasten to tell you that for the uninitiated, Wine (short for Wine Is Not an Emulator) is also a compatibility layer that allows you to run Windows programs on Unix-like operating systems.

Generally speaking: this method works well on Debian and its derivatives. However, if you are using another Linux distribution, we want to use Snap and also tell you that there is probably a better way to install Wine on your computer.

Download and Set Up Wine

The first, launch the terminal program and enter the command below to add a WineHQ signing key:


wget -qo- | sudo apt-key add -


If this command returns an error, you can split it into two. Here's what that would look like:


wget -qo-
sudo apt-key add Release.key


Run following years command for including the official Wine repository in the list of system repositories:


sudo apt-add-repository 'deb bionic main'


Update your system's package list by running:


sudo apt-get update


Finally, install Wine on your computer with the help of the following command:


sudo apt-get install --install-recommends winehq-stable


To specify whether your system is 32-bit or 64-bit, you must define the architecture and prefix after installing Wine. We'll set the architecture and prefix to 32-bit for improved compatibility.

Run the following two commands in a terminal window to accomplish this:


export WINEARCH=win32
export WINEPREFIX=~/.wine32


Installing Notepad++ With Wine

It's time to download and install Notepad++ in Wine now that Wine has been installed and configured. Download the most recent installer package from the official website to accomplish this.

Install Notepad++.

Go to the Downloads directory on your computer, or the location where you downloaded the application, after the download is finished. To load Notepad++ into Wine, right-click on the setup file and select Open With Other Application > Wine Windows Program Loader.

Installing Notepad++ With Wine

Now the Notepad++ Installer will operate under Wine. It will also prompt you to choose your favorite language as the initial step.

Select a language from the Installer Language menu, then click OK.

You'll now be greeted to the initial setup screen. Hit Next to continue.

youll now be greeted to the initial setup screen hit next to continue

Accept the license terms by clicking the I Agree button on the License Agreement page.

notepad v8 1.9

Select a location wherein you'd want Notepad++ to be installed, then click Next.

Choose either the Custom or Minimalist packages on the package selection screen, then tap Next. In contrast to Custom, which allows you to choose regardless of components you wish to install (such as plugins), Minimalist merely supplies you with the vital components needed to run Notepad++.

notepad 2

If you wish to have a shortcut for Notepad++ on your desktop for convenient access, check off the box next to Create Shortcut on Desktop on the next screen.

Finally, click Install to install Notepad++ with the selected preferences.

Install Notepad++ update

Method 2: Install Notepad++ on Linux Using Snap

The simplest way to install Notepad++ or any other program is through Snap, and you can use this technique on practically any Linux distribution that doesn't have the package you wish to install listed in its official package manager.

Similar to installing Wine independently, installing Notepad++ via Snap also requires Wine; however, it avoids the difficulty of needing to install Wine separately by relying on an embedded version of Wine.

Make sure Snap is set up on your Linux computer before seeking to use Snap to install Notepad++. For this, access the terminal and come in:




If the Snap description is output, Snap is indeed there. If it doesn't, you must first install Snap on your computer before continuing.

After installing Snap, run the following command to install Notepad++:


sudo snap install notepad-plus-plus


If at some point in the future you wish to uninstall Notepad++ from your computer, you can do so with:


sudo snap remove notepad-plus-plus


Launching Notepad++

You must have had the option to make a shortcut for Notepad++ on your desktop if you installed Notepad++ via Wine. If you chose it, please double-click the shortcut to launch Notepad++. If not, Notepad++ is viewable from the Applications menu.

Alternatively, you can also run Notepad++ from the terminal with:


wine start 'installation\path\for\Notepad++'


The Guys / For example, if you installed Notepad++ under Program Files (x86), you'd run:


wine start 'C:\Program Files (x86)\Notepad++\⁠notepad++.exe'


Similarly, if you installed Notepad++ using Snap, you may run it by typing the notepad-plus-plus command in a terminal window or by finding it in the Applications menu.

If you chose the latter option and cannot seem to start Notepad++, the PATH environment may not be configured successfully. In this situation, you have two options: either set Notepad++'s PATH variable on your system or launch the tool by prepending the installation path.

To achieve this, first determine the installation location for Notepad++ by typing which notepad-plus-plus in a terminal window. Following this, paste notepad-plus-plus after copying this path and pasting it in a new line.

For example, if Notepad++ is installed under /snap/bin/, you can run it from any directory using:




Acquainting Yourself With Notepad++

Now, friends, finally, if you have used Notepad++ for a long time before, but had to switch to other text editors after switching to Linux, which I think you may have, or you may have used or seen Linux: PCs of your different friends. Now this guide helps you to install and run Notepad++ on your Linux computer. As the techdataz team, we always wanted to tell you about it with our highest quality and most original content.

Now that you are reunited with your favorite text editor, you will be able to use Notepad++ on Linux in a very similar way to how you use it on Windows. Never forget that. Additionally, we would like to tell you that since it runs on Wine, you will need to be able to add the Notepad++ Plugin Manager to extend its functions and provide more efficient work.



Related Articles

Finding a Port by MAC Address on a Cisco Switch

Finding a Port by MAC Address on a Cisco Switch. Before showing this process, in what situations can we use it?

What is Active Directory Global Catalog? How to Define?

What is Active Directory Global Catalog? How to Define? Active Directory (AD) has a feature called the global catalog that enables a domain controller.

5 Best GitHub Alternatives for Hosting Your Project

5 Best GitHub Alternatives for Hosting Your Project. We explain the best GitHub Free server resources for you.

Python vs. Java: The Best Language for 2023

Python vs. Java: The Best Language for 2023. Unsure about the programming language you should learn? The only option if you want to start coding in 2023 is this.