Notepad++ is the latest version of the Notepad application. It is the most popular and widely used text editor that supports a wide range of text and source code files. It is a free source code editor tool for writing codes. It has great features and options like line numbers, multi-ending, different style themes, syntax highlighting for different programming languages, and much more.
Considering its importance, this guide illustrates all possible ways to install Notepad++ on major Linux distributions. The outcomes of this guide are written here:
- Method 1: Install Notepad++ on Linux Using CLI
- Method 2: Install Notepad++ on Linux Using GUI
- Bonus Tip: Remove Notepad++ From Linux
Method 1: Install Notepad++ on Linux Using CLI
The user can easily manage and access the Linux system by utilizing the command line interface. Linux offers many commands that perform various tasks such as installation, updation, deletion, and more.
Keeping this in view, this method carried out some essential steps to install Notepad++ on Linux using the command line interface.
Step 1: Install Snap Package Manager
As the Notepad++ installation requires the “snap” package manager.suppose it is not already installed in your respective distros. In that case, you can install it by typing the following commands:
$ sudo dnf install snapd #For Fedora $ sudo pacman -S snapd #For Manjaro $ sudo yum install snapd #For CentOS/RHEL $ sudo snap install snapd #For Ubuntu/Debian/Linux Mint
In this case, it is installed into “Ubuntu 22.04” LTS as shown below:
The output shows that in the current Ubuntu 22.04 “snapd” is already installed.
Step 2: Install Notepad++ Via Snap Package Manager
Use the “snap” package manager to install Notepad++ on Linux by executing the following command in the command prompt. The command and package name will be the same for all the Linux distributions:
$ sudo snap install notepad-plus-plus #For all Snap Enabled Distributions
The output verifies that the “Notepad++” has successfully installed into Ubuntu 22.04 LTS.
Launch the Notepad++
Once the installation is completed, type the “Notepad-plus-plus” on the terminal and press the “Enter” key to launch it:
$ notepad-plus-plus #For all Major Linux Distribution
Method 2: Install Notepad++ on Linux Using GUI
Apart from the command line interface the user can also install the “Notepad++” application using the graphical user interface. It is a more convenient and easy method for users that can’t handle the Linux system through commands.
Follow the step-by-step guidelines to install Notepad++ using GUI on Ubuntu 22.04:
Step 1: Open the Ubuntu Software Center
First, open the Ubuntu software center in the dock panel. Hit the “Search” icon from the menu bar and type “Notepad++” in it. After that, click on the highlighted application to open up:
Step 2: Install Notepad++
Once it is opened, click on the green “Install” button to start the Notepad++ installation as shown in the image:
The “Notepad++” installation requires a root user password for authentication. Type it into the text field and press the “Authenticate” button:
The “Notepad++” has successfully been installed into “Ubuntu 22.04”.
Launch the Notepad++
Hit the “Show Applications” icon available in the dock panel. It generations a “Search” bar and the “application menu”. Type the “Notepad++” into the “Search” bar and click on the shown results:
The interface of the “Notepad++” looks like this:
Bonus Tip: Remove Notepad++ From Linux
When the usage of “Notepad++” is completed, the user can easily uninstall it to free up disk space by utilizing the following command:
$ sudo snap remove notepad-plus-plus
The “Notepad++” has been removed/uninstalled from “Ubuntu 22.04”
On Linux and its major distributions, the “Notepad++” application can be installed using “Command Line Interface” and “Graphical User Interface”. To install it through CLI, first, install the “snap” package and set up the “snap core” process on the Linux system. However, in the GUI method, access the “Ubuntu Software” center as it offers the “Notepad++” application. This guide has briefly illustrated both CLI and GUI methods to install Notepad++ on Linux.