Notepad++ is one of the best text as well as source code editor which was developed for the Microsoft Windows platform. Notepad++ is an open source code editor that is much better than Windows default text editor. It supports several features like syntax highlighting, multi-document view, brace matching, macros recording, autocomplete, color codes, etc. But it is not available for Linux. If you go to Notepad++ official website, you will notice there is no link to download Notepad++ for Linux distributions. However, luckily there is a way that you can use it on Linux distributions because it is available as a snap package for Linux users.
In this article, we will show you how to install Notepad++ in Ubuntu. I will use Ubuntu 18.04 to describe the procedure and methods mentioned in this article.
There are two ways to install Notepad++ in Ubuntu:
- Using GUI
- Using Command line
Install Notepad++ Using Ubuntu GUI
In this method, we will use GUI to install Notepad++ in Ubuntu. Now to get started with installation, Press Windows key or Click on dash icon in the bottom left corner of the desktop to open the dash menu. Then from the search bar, search and find for Ubuntu Software and open it.
When the Ubuntu Software application opens, click on the search icon on the top right corner of its window.
A search bar will appear, type notepad++. Once you find the application, click on it.
Now click on Install to start the installation of the Notepad-plus-plus application.
Once the installation is completed, you can launch the application from the Ubuntu Dash menu.
Or you can also type notepad-plus-plus in Terminal to launch the application.
Install Notepad++ Using Command line
In this method, we will command line Terminal application to install Notepad++. As already discussed, Notepad++ is available as a snap package for Linux users. Before getting started with the installation, we will need to make sure that snap is available on your system.
To ensure the latest Snap package is installed, open the Terminal by pressing Ctrl+Alt+T keys, then run the following command as sudo in Terminal:
$ sudo apt list
If snap is not installed, we will have to install it first. To install snap, type the following command as sudo :
$ sudo apt-get install snapd snapd-xdg-open
It will install the latest Snap package to your repository. Once the snap is installed, run the following command as sudo to install Notepad++ application.
$ sudo snap install notepad-plus-plus
Now sit back and wait for a while until the installation completes.
When the installation is completed, you can launch the application from the Ubuntu Dash menu. Or you can also type notepad-plus-plus in Terminal to launch the application.
Notepad++ is one of the most useful and popular code editor application available for Windows users only. But now you have seen that you can easily install this application in your Ubuntu environment using either GUI or command line.