Notepad++ is a free and powerful tool that you can use to edit both texts and source code. The famous editor is initially designed for Windows PCs and written in C language with pure Win32 API that ensures higher execution speed. This makes it possible to optimize routines without sacrificing user-friendliness, which reduces carbon emissions from your computer when using less power consumption resulting in a greener environment.
In the following tutorial, you will learn how to install Notepad++ on Ubuntu 22.04 LTS Jammy Jellyfish using Snap (Snapcraft.io) as a means to install Wine to emulate Windows and Notepad++.
Table of Contents
The first step is to make sure your system is up-to-date to avoid issues during the installation and for good practice. This is done by opening your terminal and using the following command.
sudo apt update && sudo apt upgrade -y
Install Notepad++ – Snap Method
The method will be installing the notepad software with snap. Overall, the snap version of Notepad Plus Plus is the original notepad editor, with APT or Flatpak methods using the free opensource NotepadQQ equivalent.
First, re-install Snapd if you have removed it previously.
sudo snap install snapd -y
Ideally, it is worth rebooting when installing third-party managers; if you experience issues, please do this.
Next, install the snap core to avoid any conflicts.
sudo snap install core
Now install the Notepad++ snap package with the following command.
sudo snap install notepad-plus-plus
How to Launch Notepad++
Now that you have the application installed, launching can be done in a few ways.
In your terminal type:
If you would like to launch and use the terminal at the same time, send it to the background:
However, this is not practical, and you would use the following path on your desktop.
Activities > Show Applications > Notepad++.
Once open, you will arrive at the default new notepad blank page where you can begin using the programmer’s notepad software.
How to Update Notepad++
Given that snap was the installation method, run an update if snaps fail to update your software package in a reasonable time when new versions are available.
sudo snap refresh
How to Remove (Uninstall) Notepad++
For users that no longer wish to have Notepad++ installed, use the following snap command to remove the editor.
sudo snap remove notepad-plus-plus
Comments and Conclusion
In the guide, you have learned to install Notepad++ on Ubuntu 22.04 LTS using snap.
If you’re looking for a powerful and free text editor, Notepad++ is a perfect choice. The software offers all of the features you need to edit your text files and source code.