Last Updated:

Installing notepad++ on linux

notepad++ on linux

This article describes the exact steps required to install notepad++ on Linux. Notepad++ is an open source programming utility originally launched for the Windows operating system. The growing popularity of this code editor has led to its appearance in other operating systems.

Before installing Notepad++, there are certain things that any Linux user should know:

  1. Wine – This is an open source compatibility software that allows some Windows programs to run on the Linux operating system.
  2. Snap is a package management tool on Linux that is used to install certain programs.

Steps to Install Notepad++ on Linux

In this tutorial, we will walk through the steps to install the Notepad++ snap package, which uses Wine as a compatibility level to function properly on Linux.

  • Install Snap


Many Linux distributions have pre-enabled Snap. Other systems can easily install Snap using their standard installation commands. Ununtu users can download Snap using the command:


sudo apt install snapd

  • Find and install Notepad++ with Snap

Once the binding has been installed, we will find our Notepad++ package.


Now that we know that the Notepad++ package exists, we can install it using the snap command.

sudo snap install notepad-plus-plus

Notepad++ is ready to use after the installation is complete.

(Alternative Method) Install GUI in Ubuntu

Using the standard "Ubuntu software", we can install Notepad++ without any command line fuss. In Notepad++ in Ubuntu software, clicking the Notepad-plus-plus (WINE) button will take you to the installation screen.

Click set and enter password to complete the task of installing Notepad++ on your system.

Creating and Saving Code Files


Now that we have Notepad++ installed on Linux, let's move on to basic usage such as creating and saving files, feature lists, and more.

Like any code editors, Notepad++ has standard methods for creating and saving files to the system. In the File section, by clicking the Create button, a new file is created. Or just by using the keyboard shortcut "CTRL+N".


Having made some progress in programming, if we want to save the contents of a file, we can do so by selecting the Save option on the File tab.

In the above Save As window we have to navigate to the location where we need to save the file. We also have to provide the file name along with the file extension.

Clicking the Save button will return to the notepad++ home screen. You'll see that the code marker is working. Notepad++ calculates program keywords from a file extension, for example,". py».

Standard Notepad++ Features


Notepad++ has many features that make it delightful for many enthusiastic programmers.

Style Configurator

Similar to light and dark themes in various applications, Notepad++ has many themes to customize. They can be accessed using the Style Configurator option on the Settings tab.

Click the Notepad style configurator to open a window containing multiple style options.
We can play around with the themes in this section. What's more, it provides the ability to change the color scheme of any entity code in a particular topic, similar to changing the color of comments in a Python script.


After selecting a theme and changing any styles in the theme, we need to click The Save and Close buttons to confirm the changes.

Bookmark specific lines of code


Notepad++ allows you to bookmark specific lines of code that you want to access instantly. This feature is very handy when we have hundreds of lines of code.

This is done by clicking on the edge of a particular line or by pressing CTRL+F2. The line with the bookmark is indicated by a blue circle at the beginning. These bookmarks can be easily accessed by pressing the "F2" key.

By repeating the bookmark process on a row bookmark, you will delete the bookmark.

Saving Sessions in Notepad++


Instead of saving each file opened in Notepad++, we can save all the files in a specific session file. This conservation method helps programmers save their projects at different stages.
You can save the session by selecting Save Session under File.

The saved session can be loaded later by selecting The Load Session just above the Save Session option.

List of functions for modular programs


Notepad++ provides a side window that displays all the features created in the work program. You can access it by clicking the Feature List button in the View section. After selecting this view, we get a side window containing the names of the functions. This code editor also highlights the current feature we are working in.


Notepad++ has many features that can only be learned with it. We hope this article helps you understand the Notepad++ code editor to get started using it. Feel free to comment below for any questions related to Notepad++ on Linux. If you're interested in the command line editor, try the vim editor tutorial.