How to Install NotepadQQ on Ubuntu 22.04 LTS

Notepadqq is a free and open-source text editor program for Linux. It’s an alternative to Notepad++, which many programmers and even general desktop power users often use as their notepad of choice due to its ease and minimalism. In contrast, others prefer its more robust features, such as multiline editing or variables scope overloading.

In the following tutorial, you will learn how to install NotepadQQ on Ubuntu 22.04 LTS Jammy Jellyfish using two different methods with APT and Flatpak as an alternative installation method of installing Notepad++ using the snap package manager and wine.

Update Ubuntu

The first step is to make sure your system is up-to-date to avoid issues during the installation and for good practice. This is done by opening your terminal and using the following command.

sudo apt update && sudo apt upgrade -y

Install NotepadQQ – APT Method

The first method is to install NotepadQQ from Ubuntu 22.04 default repository, giving you a stable, reliable version of the software but can lag in the future as LTS means stability over new features.

Use the following command to install as follows.

sudo apt install notepadqq -y

Install NotepadQQ – Flatpak Method

The second option is to use the Flatpak package manager, which is not installed on Ubuntu distributions, given Snap, which is Flatpak’s rival, is owned by Canonical and Ubuntu. However, Flatpak is still available to install from Ubuntu’s default repository.

The extra benefit of using Flatpak installations is that you will mostly have the most up-to-date version compared to Ubuntu which focuses on stability with older versions that only see updates for security issues or serve bugs.

First, install the Flatpak manager; this can be skipped if you already have it installed.

sudo apt install flatpak -y

For users installing Flatpak for the first time, it is often recommended to reboot your system. Failure to do this can occur with odd issues arising, such as paths not being generated for icons.

reboot

SKIP THE REBOOT IF FLATPAK IS INSTALLED.

Next, you need to enable Flatpack using the following command in your terminal:

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Now install the notepad software using the following flatpak command.

flatpak install flathub com.notepadqq.Notepadqq -y

How to Launch NotepadQQ

Now that you have the application installed, launching can be done in a few ways.

In your terminal type:

notepadqq

If you would like to launch and use the terminal at the same time, send it to the background:

notepadqq &

Alternatively, Flatpak users will need to launch using the command below from a terminal instance:

flatpak run com.notepadqq.Notepadqq

However, this isn’t practical, and you would use the following path on your desktop.

Activities > Show Applications > NotepadQQ.

Example:

Once open, you will arrive at the lightweight notepad editor.

Example:

How to Update NotepadQQ

Depending on the method used, the following commands can be used to update.

APT Update Method

sudo apt upgrade && sudo apt upgrade

Flatpak Update Method

flatpak update

How to Remove (Uninstall) NotepadQQ

Use one of the following commands to suit the original installation method for users who no longer require the application.

APT Remove Method

sudo apt autoremove notepadqq -y

Flatpak Remove Method

flatpak uninstall --delete-data com.notepadqq.Notepadqq

Next, run the following command for any leftover clean-up.

flatpak remove --unused

Comments and Conclusion

In the guide, you have learned to install the NotepadQQ on Ubuntu 22.04 LTS using APT or Flatpak.

Notepadqq is a programmer’s text editor program for Linux that has been gaining popularity as an alternative to Notepad++, a trendy Windows text editor among the programmer’s community. It offers many of the same features as Notepad++ and some unique benefits like keyboard shortcuts for code blocks and better font rendering.

Notepadqq is worth trying out if you are looking for an alternative to Notepad++ or are new to programming and want an easy-to-use text editor with helpful features.

Share to...