Learn the simple steps to install NotePad++ on Ubuntu 22.04 LTS Jammy JellyFish Linux using the command terminal for writing programs.
Free Notepad++ is based on the Windows Notepad Editor but functionally for writing programs. Therefore, we cannot install Notepad++ on the Linux system simply using its package manager such as APT. In such a situation, we have to take the help of Wine – a free and open-source compatibility layer to run Windows applications.
On one hand, notepad.exe on Windows is suitable for making short notes, the Notepad++ program goes beyond. Any person who writes code would already know about this app. It offers functions such as syntax highlighting, which highlights certain entered code blocks in color. This improves the overview.
Steps to install NotePad++ on Ubuntu 22.04 LTS Linux
To perform this tutorial we need…
• Ubuntu Linux
• A non-root user with sudo rights
• Terminal Access
• Internet connectivity
2. Run system update
It is a good practice to run the system update command before installing any software on Linux. This ensures our system is up to date and also refreshed the repo cache.
sudo apt update && sudo apt upgrade
3. Install Notepad++ on Ubuntu 22.04 Linux
Notepad++ is not available for Ubuntu Linux. Therefore, to install it on the Linux system we need Wine (windows program loader for Linux) and NotePad++ installer. However, instead of installing Wine on our system, we can use SNAP. Yes, there is an unofficial Snap package available in the Snapcraft repository. The project is available on GitHub.
The good thing is on all the latest versions of Ubuntu, SNAP comes by default therefore we don’t need anything extra. Just run the given commands:
sudo snap install notepad-plus-plus
sudo snap connect notepad-plus-plus:removable-media sudo snap connect notepad-plus-plus:cups-control
You have to wait for a few minutes…
4. Run Notepad++
Once the installation is done, we can run it like any Linux application. Go to Ubuntu’s Application launcher, search for Notepad++ and click to run it, when the icon for the same appears.
We can also get dark mode in Notepad++, but a little hard to find. First, click on “Settings then Styles” in the menu bar to open the design menu. Under “Select theme” you will find a few themes to choose from, with “Default” being the default setting.
There are several dark themes to choose from: “Dark Mode default” is the normal mode with predominantly black and gray tones. But “Obsidian”, “Deep Black”, “Twilight” or “Zenburn” also offer a dark background. However, the problem is – the menu bar remains bright all the time. You can then use the distraction-free mode, which you can access via “View” in the menu bar. This will hide the top menu and you’re left with a completely dark editor. use the plus button at the top right to exit the mode.
5. Update or Upgrade Notepad++
Well, we have installed the Notepad++ using SNAP package manager, therefore, updating it is also quite easy. Here is the command to do that.
sudo snap refresh notepad-plus-plus
6. Uninstall or remove
In case after some time you don’t require Notepad++ anymore on Ubuntu 22.04 Jammy Linux, we can remove it using the SNAP command as well. Here is that:
sudo snap remove notepad-plus-plus
In this way, we can easily get Notepad++ without installing Wine manually on Ubuntu 22.04 LTS or 20.04 LTS. The above-given guide can be used on any Linux system that supports SNAP such as Fedora, AlamLinux, Linux Mint, and more…