How to install Notepadqq on Ubuntu 20.04 | An Alternative To Notepad++ For Linux

I know there are plenty of text editors that can be used as Notepad++ alternative in Linux such as SciTE. Some are even better even it comes to code handling such as the upcoming Atom editor from Github.

But if you get used to of a certain application, you would want the same on all the platforms and this is where Notepadqq comes in picture. It is a look alike of Notepad++ which almost same features.

Notepadqq is completely Free and Open Source designed by developers, for developers. With its more than 100 supported languages, it is the ideal text editor for your daily tasks.

Notepadqq is a Notepad++ like editor for the Linux desktop.

It helps developers by providing all you can expect from a general purpose text editor, such as syntax highlighting for more than 100 different languages, code folding, color schemes, file monitoring, multiple selection, Customizing the color scheme, Renaming a file within the editor, Converting files between various types of character encoding and much more.

You can search text using the power of regular expressions. You can organize documents side by side. You can use real-time highlighting to find near identifiers in no time.

This article explains three methods of installing Notepadqq on Ubuntu 20.04.

Choose the installation method that is most appropriate for your environment.

Method 1: Installing Notepadqq as a Snap Package

The easiest way to install Notepadqq on Ubuntu 20.04 is by using the snap packaging system.

A snap package is a type of universal Linux package that you can enjoy irrespective of the distro. Its an self-contained software packages that include the binary all dependencies needed to run the application.

All you need is the snap service pre-configured, In the case of Ubuntu 20.04, it comes with snap pre-installed.

If snapd package is not already installed then you can install it by running following command.

$ sudo apt install snapd

Note: Snap packages can be installed from either the command-line or via the Ubuntu Software application.

This is actually the Snap version of the Notepadqq application. It can be used on any Linux distribution that has Snap support.

Open your terminal (Ctrl+Alt+T) and type the following command to install the Notepadqq package.

$ sudo snap install notepadqq

That’s It. Now you can open the Notepadqq application with the help of Activities search bar.

If you are not comfortable with the command line, open Ubuntu Software, search for “Notepadqq” and install the application.

Type the following command to update the Notepadqq application.

$ sudo snap refresh --list

Method 2: Installing Notepadqq via PPA Repository

If you want to install the most recent version of Notepadqq, you can use the PPA repository.

Personal Package Archives (PPA) are software repositories designed for Ubuntu users and are easier to install than other third-party repositories. PPAs are often used to distribute pre-release software so that it can be tested.

Step #1

First of all open the terminal from system application launcher and type the following command to add the Notepadqq PPA to your system.

$ sudo add-apt-repository ppa:notepadqq-team/notepadqq

Step #2

Then, execute the following commands to install Notepadqq package on your Ubuntu system.

$ sudo apt-get update && sudo apt-get install notepadqq

Once installed, launch it from your system application menu.

Method 3: Installing Notepadqq from Source

Compiling Notepadqq from the source allows you to install the latest Notepadqq version. Follow the following steps to install Notepadqq using the source code method.

Step #1

There are few tools and libraries required to use Notepadqq on Linux. Hence, before moving further type the following command to install them.

$ sudo apt-get install qt5-default qttools5-dev-tools qtwebengine5-dev libqt5websockets5-dev libqt5svg5 libqt5svg5-dev libuchardet-dev pkg-config

Step #2

Type the following command to Get the source.

$ git clone --recursive https://github.com/notepadqq/notepadqq.git
$ cd notepadqq

Step #3

Now build the package.

$ ./configure --prefix /usr
$ make

Step #4

Finally, execute the following command to install Notepadqq package on your Ubuntu system.

$ sudo make install

That’s it. Now you can use Notepadqq text editor on your Ubuntu system.

Starting Notepadqq text editor

Notepadqq can be launched from the command line by typing notepadqq or In the Activities search bar type “notepadqq” and click on the icon.

Notepadqq user interface:

How to Uninstall Notepadqq from Ubuntu 20.04

For some reason, If you want to uninstall Notepadqq application, refer following methods.

Method #1

If you have installed Notepadqq via Snap type the following command:

$ sudo snap remove notepadqq

Method #2

If you have installed the appication from repositories(apt) then uninstall by running the below command:

$ sudo apt remove notepadqq

Method #3

If you have installed the appication via PPA then uninstall by running the below commands.

Step #1

It’s most likely that you added the PPA using add-apt-repository command. You can use the same command to remove the PPA as well. Just give it --remove option in the command.

$ sudo add-apt-repository --remove ppa:notepadqq-team/notepadqq

Step #2

As of now we removed the PPA. What about the applications installed using these PPAs? Will they be removed as a result of removing the PPA? The answer is NO.

So this is when ppa-purge comes in picture. It not only disables the PPA but also uninstalls all the programs installed by the PPA or revert them to original version provided by your distribution.

So type the following command to install the ppa-purge package and uninstall the Notepadqq package.

$ sudo apt install ppa-purge && sudo ppa-purge ppa:notepadqq-team/notepadqq

Conclusion

I hope that now you have a good understanding of How to install Notepadqq on Ubuntu 20.04 LTS Focal Fossa.

If anyone does have any questions about what we covered in this guide then feel free to ask in the comment section below and I will do my best to answer those.

If you like our content, please consider buying us a coffee.

Buy Me A Coffee

We are thankful for your never ending support.

Leave a Comment