
Notepad++ is one of the most popular text editors on Windows, and many people want the same tool after moving to Linux or a Linux VPS. There's no native Linux version, but you can run the real Notepad++ through Wine, either with a ready-made snap package or manually, and there are native Linux editors that feel very similar. This guide covers both routes, plus how to "open Notepad" on Linux from the terminal.
Quick answerOn Ubuntu with snap support, run
sudo snap install notepad-plus-plus
That installs the Windows version of Notepad++ bundled with Wine. If you'd rather use a native app, install Geany or Kate (sudo apt install geany).
Before you start: you need a desktop
Notepad++ and the alternatives below are graphical apps. On a desktop Linux PC that's fine. On a Linux VPS, which usually has no screen, install a lightweight desktop and connect with remote desktop first, for example XFCE with xrdp:
sudo apt update
sudo apt install xfce4 xfce4-goodies xrdp
echo "startxfce4" > ~/.xsession
sudo systemctl enable --now xrdp
sudo ufw allow 3389/tcp
Then connect with Remote Desktop Connection (mstsc) or any RDP client. If you only need to edit files over SSH, a terminal editor such as nano or vim is simpler.
Method 1: Install Notepad++ with snap
The notepad-plus-plus snap is community-maintained and packages the Windows program together with Wine, so you don't have to configure Wine yourself.
- Make sure snapd is available (it is by default on Ubuntu):
sudo apt install snapd - Install Notepad++:
sudo snap install notepad-plus-plus - Start it from the applications menu, or from a terminal:
notepad-plus-plus
The first launch takes a little longer while the Wine environment is prepared. Your Linux home folder appears as a drive inside the file dialogs.
Method 2: Install Notepad++ with Wine
Use this if you don't want snap or need the latest Notepad++ release.
- Install Wine:
sudo dpkg --add-architecture i386 sudo apt update sudo apt install wine - Download the 64-bit Notepad++ installer (
npp.x.x.x.Installer.x64.exe) from the official site, notepad-plus-plus.org. - Run the installer through Wine:
wine ~/Downloads/npp.*.Installer.x64.exe - Follow the normal Windows setup. Afterwards, start Notepad++ from the menu (Wine → Programs) or with:
wine "$HOME/.wine/drive_c/Program Files/Notepad++/notepad++.exe"
Most Notepad++ features work under Wine, including plugins, but some plugins that depend on Windows components may not.
Native alternatives that feel like Notepad++
| Editor | Why it's a good substitute | Install (Ubuntu/Debian) |
|---|---|---|
| Geany | Light and fast, tabs, syntax highlighting, plugins; the closest feel to Notepad++ | sudo apt install geany |
| Kate | Powerful KDE editor with split views, sessions, LSP support and a built-in terminal | sudo apt install kate |
| GNOME Text Editor / Mousepad | Simple "Notepad"-style editors for quick notes | sudo apt install gnome-text-editor / mousepad |
| VSCodium / VS Code | Full code editor with extensions, Git and remote editing | From the project's apt repository or Flathub |
| Notepadqq | Looks like Notepad++, but no longer actively developed | Not recommended for new installs |
Geany and Kate are native, start instantly and integrate properly with the Linux desktop, so they're usually a better long-term choice than running Notepad++ through Wine.
How to open a "Notepad" in Linux
Linux has no app called Notepad, but every desktop has a simple text editor. From a terminal you can open a file in the default one with:
xdg-open notes.txt
Or name the editor directly: gnome-text-editor notes.txt, mousepad notes.txt, kate notes.txt or geany notes.txt. In a terminal-only session, use nano notes.txt.
Uninstall Notepad++
sudo snap remove notepad-plus-plus # snap install
wine uninstaller # Wine install: pick Notepad++ in the list
Frequently asked questions
Is there a Notepad++ for Linux?
Not natively. You can run the Windows version through Wine, most easily with sudo snap install notepad-plus-plus, or use a similar native editor such as Geany or Kate.
What is the Linux equivalent of Notepad?
GNOME Text Editor on Ubuntu, Mousepad on XFCE and KWrite or Kate on KDE. In the terminal, nano is the simplest.
Can I use Notepad++ on a Linux VPS?
Yes, after installing a desktop such as XFCE and connecting with RDP through xrdp. For quick edits over SSH, nano or vim is easier.
Which is better on Linux, Notepad++ via Wine or Geany?
Geany. It's native, faster and fits the Linux desktop. Use Notepad++ through Wine only if you need a specific plugin or workflow.


