Trying to figure out how to install Notepadqq on Ubuntu 20.04? It’s easy. This article discusses five methods to easily install Notepadqq.
Yes, it’s true that there are many text editors that can be used as Notepad++ alternatives on Linux, such as SciTE. Some are even better suited to handling code, including Github’s upcoming Atom editor.
Using Notepadqq is handy if you’re used to one application and want it on all platforms. The application resembles Notepad++ and offers similar features.
When Comparing, Notepad++ is generally used in programming source code and text editors. This software is installed on the Windows operating environment and has long been known to assist developers, programmers, researchers, and writers.
Most of us who have at some point worked on the Linux distributions also want the notepad ++ editor on our system. Notepad++ can only be used on windows whereas Notepadqq is a far better alternative that can be used on Linux too. It is a natural and original Linux application, designed to look and feel similar to Notepad++.
The free Notepadqq app is the ideal Linux alternative to Notepad++ because it is a feature-rich application that is compatible with Linux and it supports over 100 programming languages plus, it runs without delay, compared to Notepad++ on Linux.
To put the cherry on top, it has the support for themes and mathematical expressions. Notepadqq is also a text editor that is designed by developers for the developers, and it is useful to note down daily tasks too.
But how will that be helpful?
In this article, we are going to help you on how to install Notepadqq in Ubuntu 20.04 version. You can install it on all major Linux distributions. If you would like to install it on Ubuntu, it can either be done through the Ubuntu Software Centre, by using the command line, by using snap, or by obtaining the source code.
5 Methods to Install Notepadqq on Ubuntu 20.04
There are five ways of installing: either using the Apt package manager, source code, Ubuntu software centre, snap package manager, or via PPA repository. You can choose any method for installing Notepadqq based on your preference.
1. Install Notepadqq using Apt
To install Notepadqq using apt, open the terminal using the keys “Ctrl + Alt + T” and run the following command:
$ sudo apt install notepadqq

That’s how simple it is. Notepadqq should be now installed on your system. You can launch it from the App launcher or search for it to quickly find and launch the software. Nothing can be easier than that.
2. Install Notepadqq using Snap
Snap provides an isolated environment with a containerized software package in its own sandbox. All Ubuntu versions currently support Snap. Currently, every supported version of Ubuntu comes with Snap installed and ready for use.
You can use Snap packages to install Notepadqq in Ubuntu 20.04 by using the snap command in the terminal.
In case snapd package has not been installed, run following command to install it.
$ sudo apt install snapd

Install from the Snap command line
Firstly, to install Notepadqq using the snap command, open the terminal using the keys “Ctrl+Alt+T” and run the following command:
$ sudo snap install notepadqq
In the authentication prompt pops up, enter the password, and click the ‘Authenticate’ button.
Now, the Notepadqq installation will be complete which may take some time and you can now launch it from the App launcher in Ubuntu.

For those who are uncomfortable with the command line, launch Ubuntu software centre and search for “Notepadqq.” Install the program.
The following image illustrates the look and feel of notepadqq:

3. Install Notepadqq from the Ubuntu Software Centre
You can even install Notepadqq from Ubuntu Software Centre. Firstly, run Ubuntu software centre from the dock or the application menu.

Press the search icon at the top left corner of your screen once Ubuntu software centre is open and subsequently, a search box will appear. Type or paste Notepadqq in the search box and press enter to complete the search.
Now select Notepadqq from the list of apps in search results and click the ‘Install’ button on Notepadqq’s app listing page.
Installation may take time so once it’s done, enter your Ubuntu user password and click the ‘Authenticate’ button to confirm the installation of Notepadqq
4. Installing Notepadqq from Source Code
You can also install Notepadqq from the source code though you might find this method a little complicated. However, we have simplified it for you in steps. Please take note that to install the notepadqq source, you will have to copy and paste these codes step by step.
Step 1
Notepadqq requires very few tools and libraries to run on Linux. Therefore, you will need to use the following command to install them before proceeding.
$ sudo apt-get install qt5-default qttools5-dev-tools qtwebengine5-dev libqt5websockets5-dev libqt5svg5 libqt5svg5-dev libuchardet-dev pkg-config

Step 2
Get the source by typing the following command.
$ git clone --recursive https://github.com/notepadqq/notepadqq.git

Step 3
Change directory using the following command.
$ cd notepadqq

Step 4
It’s time to build the package.
$ ./configure --prefix /usr
$ Make
Step 5
You should now run the following command to install your Notepadqq package.
$ sudo make install
Now close the terminal and check for the app in the application menu. Notepadqq should be able to run now.
5. Installing Notepadqq via PPA Repository
PPAs (Personal Package Archives) are software repositories created specifically for Ubuntu users that are easier to install than third-party repositories. For testing pre-release software, PPAs are commonly used.
You can use the PPA repository to install Notepadqq’s most recent version using the following steps.
Step 1
To add the Notepadqq PPA to your system, first open the terminal from the system application launcher.
$ sudo add-apt-repository ppa:notepadqq-team/notepadqq

By applying this command, it might as you to install the snap package instead which you can install by the following command:
$ snap install --classic notepadqq
Note: If you’re on Ubuntu for Windows app, you might get the following error:

Therefore, in order to fix it, you need to use it on Linux operating system instead of Windows app.
Step 2
You can now install Notepadqq package on your Ubuntu system by executing the following command.
$ sudo apt-get update && sudo apt-get install notepadqq

Uninstall Notepadqq from Ubuntu 20.04 system
If you want, you can also uninstall the notepadqq from your Ubuntu system by the following two ways:
Removing Notepadqq Using Apt Method
If you’ve installed Notepadqq using the apt method, then open the terminal using the keys “Ctrl + Alt + T” and run the following command:
$ sudo apt remove notepadqq
Your notepadqq will be now uninstalled from your system.
Removing Notepadqq via Snap Method
If you’ve installed Notepadqq using the Snap method, then type the following command in the terminal to uninstall Notepadqq.
$ sudo snap remove notepadqq
Removing Notepadqq via PPA Method
If you have installed Notepadqq via PPA, then uninstall it by executing the following command.
You probably added the PPA using the command add-apt-repository. The same command can also be used to remove the PPA. Using the –remove option will do the trick.
$ sudo add-apt-repository --remove ppa:notepadqq-team/notepadqq
Using the above command, the PPA gets removed, but remember that the apps we installed using PPA are still there.
So how do we remove it?
Don’t worry. All you need to do is to do a ppa-purge as we use to purge caches in our WordPress sites.
This also disables the PPA, but also uninstalls the installed programs or reverts them to their original versions.
Install the ppa-purge package first in order to remove the Notepadqq package.
$ sudo apt install ppa-purge && sudo ppa-purge ppa:notepadqq-team/notepadqq
Conclusion
Now that you understand how to install Notepadqq on Ubuntu 20.04 LTS, I hope that you are able to get started.
You can use any method, mentioned above, that you like the most and install Notepadqq. Through this guide, you can install a far better alternative than Notepad++ on your Linux machine for your code editing.
Hope this helps you on every step of installation and gives you a smooth installation experience. If this helped you, do share it or give up a thumb to this article.