How to Install Notepad++ in Ubuntu 22.04

Notepad++ is a versatile, open-source text and code editor that’s lightweight and efficient. It’s primarily designed for editing documents, but it also supports programming languages like HTML, C, and JavaScript.

The application is built in C++, leveraging the Win32 API, which makes it less CPU-intensive than its competitors. This guide will walk you through the process of installing Notepad for ubuntu 22.04 using two methods: the Terminal and the GUI.

Method 1: Installing Notepad++ on Ubuntu 22.04 Using Terminal

Step 1: Update and Upgrade System Packages

Start by opening the terminal using the CTRL+ALT+T keys. Then, update and upgrade the Ubuntu APT cache repository with the following command:

sudo apt update && sudo apt upgrade -y

Read: Best online code editors

Step 2: Install Snap

If Snap isn’t already installed on your system, you can install it with this command:

sudo snap install snapd

Step 3: Install Snap Core

Next, install the snap core on your system with this command:

sudo snap install core

Step 4: Install Notepad++

Now you’re ready to install Notepad++. Use this command in the Ubuntu 22.04 terminal:

sudo snap install notepad-plus-plus

Read: Five best code editors for Linux

Step 5: Update Snap

After installing Notepad++, update the snap store with this command:

sudo snap refresh

Method 2: Installing Notepad for Linux Ubuntu 22.04 Using GUI

Step 1: Open Ubuntu Software Center

Go to the “Activities” menu, search for “Ubuntu Software” and open it.

Step 2: Search for Notepad++

In the search field, type in “Notepad++” and choose it from the results.

Read: How to edit a text in Linux using Nano – A beginner’s guide

Step 3: Install Notepad++

Click on the “Install” button to start installing Notepad++ on Ubuntu 22.04.

Step 4: Enter Your Password

During installation, an “Authentication Required” wizard will appear. Enter your system password and click on “Authenticate.”

Launching Notepad++ on Ubuntu 22.04

To launch Notepad++, search for “Notepad++” in the “Activities” menu and open it.

Uninstalling Notepad++ from Ubuntu 22.04

If you need to uninstall Notepad++ from Ubuntu 22.04, use this command in the terminal:

sudo snap remove notepad-plus-plus

You now know how to install, launch, and remove Notepad++ on Ubuntu 22.04 using both Terminal and GUI methods.

 


If you like the content, we would appreciate your support by buying us a coffee. Thank you so much for your visit and support.

 

Nikolaus Oosterhof

Nikolaus holds a degree in software development and has a strong passion for all things tech-related, especially gadgets with screens. Though he is nostalgic for older phone models, he's a retired gamer and continues to enjoy programming in open-source environments. Additionally, Nikolaus enjoys writing about Linux, macOS and Windows and has experience designing web pages.

Leave a Reply