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

Microsoft Edge Installation on Ubuntu 24.04

Microsoft Edge is now available for Ubuntu. In this guide, I’ll walk you through the…

6 hours ago

How we used Flask and 12-factor charms to simplify Canonical.com development

Our latest Canonical website rebrand did not just bring the new Vanilla-based frontend, it also…

13 hours ago

Web Engineering: Hack Week 2024

At Canonical, the work of our teams is strongly embedded in the open source principles…

2 days ago

Ubuntu Weekly Newsletter Issue 873

Welcome to the Ubuntu Weekly Newsletter, Issue 873 for the week of December 29, 2024…

3 days ago

How to resolve WiFi Issues on Ubuntu 24.04

Have WiFi troubles on your Ubuntu 24.04 system? Don’t worry, you’re not alone. WiFi problems…

3 days ago

Remembering and thanking Steve Langasek

The following is a post from Mark Shuttleworth on the Ubuntu Discourse instance. For more…

3 days ago