Notepad ++ is the cute tools for our daily task on scripting or writing other purpose (editing documents, etc.). Notepad++ is a free (as in “free speech” and also as in “free beer”) source code editor and Notepad replacement that supports several languages. The application was developed to be running on Microsoft Windows environment, its use is governed by GPL License. At this article we will discuss how to install the Notepad++ on Ubuntu 18.04 TLS.
Based on the powerful editing component Scintilla, Notepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. Scintilla is a free source code editing component. It comes with complete source code and a license that permits use in any free project or commercial product.
Notepad ++ is not designed to run on Linux. If we are checking the official Notepad++ website on http://www.notepad-plus-plus.org, there is no source code for Linux operating system distribution. But, fortunately there is a way that we can use Notepad ++ on Linux distributions because it is available as a snap package for Linux users.
Install Notepad++ Steps
At least two methods to install the Notepad ++ on Ubuntu : GUI interface and console command line. At this article, we will explain how to install Notepad ++ on Ubuntu using command line. As ussualty, before we are going to install new application, we are advised to update our Ubuntu repository by
sudo apt update command.
ramans@ubuntu:~$ sudo apt update
Install Snap Package
We have to check if latest Snap package is already installed on our Ubuntu 18.0 TLS , we can use comadn to verifty it. snapd is the service which runs on your machine and keeps track of your installed snaps, interacts with the store and provides the snap command for you to interact with it. Installing it on any of the Linux distributions mentioned below is straight-forward.
The snapd is not installed yet, so we havet to install it first. The snapd installation can be done as follow :
ramans@ubuntu:~$ sudo apt-get install snapd snapd-xdg-open
Notepad ++ Installation
snapd was completed, it’s meant if the Notepad++ was already exist on our local repository. So we can execute the command to install Notepad ++ on our Ubuntu syste.
ramans@ubuntu:~$ sudo snap install notepad-plus-plus
If the installation process was completedly done, there will be an “Notepad ++” on Ubuntu applications manager. By clicking the “Notepad ++” the application will be prompted.
Lets try and have a nice day!