Notepad++ is a free, simple and powerful code editor that is mostly used by Windows users. It is a advanced version of notepad which is comes with a large number of options. In this article, we will show you how to install Notepad++ on Ubuntu 20.04 | 18.04.
In the Linux, the most of users like to use the command line editors such as nano and vim. But if you are from a Windows world and you are not familiar with command line editor then follow the below steps to install your favorite code editor Notepad++ on Ubuntu 20.04 | 18.04.
Prerequisites
To install Notepad++, you must need to logged in with root or user with sudo privileges.
Step 1 : Install Notepad++ on Ubuntu via Snap
If Snap is not installed on your system then you will need to install it before install Notepad++. Using snap is the best and easiest way to install packages on Linux machine, including Ubuntu.
To Install snap package manager , run the commands below :
sudo apt update
sudo apt install snapd
Now, run the below command to install Notepad++ :
sudo snap install notepad-plus-plus
When you run the above command, you will get a output something as below:
notepad-plus-plus 7.8.6 from (mmtrt) installed
Run the below commands to install a mandatory plugin for Notepad++:
sudo snap connect notepad-plus-plus:process-control
If you want, you can also install some optional plugins :
sudo snap connect notepad-plus-plus:removable-media
sudo snap connect notepad-plus-plus:hardware-observe
sudo snap connect notepad-plus-plus:cups-control
Step 2 : Launch Notepad++
Now, Notepad++ is installed in your system. So you can launch it by the click on Activities and search Notepad++ and then click on Notepad++ icon. You can also open it via command line by typing
on your terminal.notepad-plus-plus
When you launch Notepad++, it will looks similar as below :
Step 3 : Uninstall Notepad++
If you want to uninstall the Notepad++ from your systems, run the below command:
sudo snap remove notepad-plus-plus
That’s all
If you face any error and issue in above steps , please use comment box below to report.