Categories: TutorialsUbuntu

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:

Sponsored

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

Sponsored

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.

 

The post How to Install Notepad++ in Ubuntu 22.04 appeared first on net2.

Ubuntu Server Admin

Recent Posts

AI in 2025: is it an agentic year?

2024 was the GenAI year. With new and more performant LLMs and a higher number…

34 minutes ago

Canonical announces 12 year Kubernetes LTS

Canonical’s Kubernetes LTS (Long Term Support) will support FedRAMP compliance and receive at least 12…

1 day ago

Ubuntu Weekly Newsletter Issue 878

Welcome to the Ubuntu Weekly Newsletter, Issue 878 for the week of February 2 –…

2 days ago

How your feedback shapes the way we support open source software

At Canonical, we firmly believe that delivering an outstanding, customer-centric support experience is impossible without…

2 days ago

How To Install osTicket v1.14 On Ubuntu 20.04

I want to share how to install osTicket v1.14 for Ubuntu 20.04 server. osTicket written…

3 days ago

How To Install WordPress On Ubuntu 20.04

Now I want to share how to install WordPress on ubuntu 20.04 server. WordPress is…

3 days ago