After moving to Linux, I miss having Notepad++ with me and I want to bring it along to my new environment.

I have Wine installed and downloaded the npp.5.8.5.Installer.exe. I have no idea what directory or where this .exe exists or if I have to query Wine or what.

How do I install Notepad++ via Wine on Ubuntu Linux?

  • 2
    apt-get install geany – Ignacio Vazquez-Abrams Apr 15 '11 at 2:11
  • The advices you've found when googling make sense. Linux users don't give such advices because they are elitist or mean or whatever. Some notorious text editors, notably vim and emacs, have both Linux and Windows versions. Notepad++ doesn't, even if it's based on scintilla, which is not tied to a single OS. You have a problem with notepad++ and if it doesn't run well via wine, your option is to pester its devs to port it to Linux. – vtest Apr 15 '11 at 5:29
  • use geany, it is comparable to np++. – Baarn Jan 4 '12 at 20:58
  1. Install Wine:

    sudo apt-get install wine
    
  2. Configure version (Windows 8 works for me) and drives (Autodetect, ../drive_c points to ~/.wine/drive_c/):

    winecfg
    
  3. Install:

    wine ~/Downloads/npp.7.3.3.Installer.exe
    

    Running directly after install may cause the plugins list not to load. It also appears that Plugin Manager 1.3.5 is the latest supported by Wine, as attempting to update the Plugin Manager broke the plugins list.

  4. Run:

    wine "C:\Program Files\Notepad++\notepad++.exe"
    

    Or via menu if you don't like debug output. Note that 32-bit programs on 64-bit Windows are in Program Files (x86) and that 64-bit Notepad++ doesn't come with the Plugin Manager.

  5. Uninstall:

    wine uninstall
    

    Run again to make sure it's gone.

Sadly in my experience Notepad++ does not work well in Ubuntu with Wine. The closest Linux text editor I could find that was somewhat similar to Notepad++ was SciTE.

  • 2
    I assume that's because both notepad++ and scite use scintilla. – vtest Apr 15 '11 at 5:22
  • @vtest I had never thought about it, but now that you mention it, yes, I'm sure that is why. – ubiquibacon Apr 15 '11 at 7:17
  • 1
    It works very well? What OS are you using? -- I am using Linux Mint, XFCE Desktop, wine config is pointing to WIN XP. – eddy147 Mar 23 at 13:12
  • I've also had great success with notepad++ via Wine in Linux Mint. – davidparks21 May 10 at 17:37
  • 2
    @davidparks21 please note that I answered this question 7 years ago. There have been a lot of updates to Wine and NP++ in that time. – ubiquibacon May 10 at 18:10

This worked perfectly for me and it later survived an upgrade from Ubuntu 16.4.3 to 18.4.1 no problem. (I since discovered Sublime-text which is pretty good because it highlights reserved words, strings, table names and aliases differently, and it supports a simple code-formatter extension.)
Fri Jun 15 12:35:45 SAST 2018

  1. Enable 32bit on a 64bit environment (more...)

    sudo dpkg --add-architecture i386
    sudo apt-get update
    sudo apt-get dist-upgrade
    
  2. Install the latest version of Wine (more...)

    sudo apt-get install --install-recommends winehq-stable
    wine --version
    

    :~$ wine-3.0.1

  3. Configure version (Windows 8 worked for me) and drives (Autodetect, ../drive_c points to ~/.wine/drive_c/)

    winecfg
    
  4. Add mono .NET interpreter. (more...)

    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
    sudo apt install apt-transport-https
    echo "deb https://download.mono-project.com/repo/ubuntu stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
    sudo apt update
    
  5. Open win32 applications with wine from Program Files (x86)

    wine "C:\Program Files (x86)\Notepad++\notepad++.exe"
    
  6. FYI: You can explore the wine environment with a dos shell

    wine cmd
    
  • 1
    @bertieb, how's that...? – wwmbes Jun 15 at 11:10
  • Huge improvement! Excellent edit :) – bertieb Jun 15 at 13:59

Just run the installer with wine.

$ wine npp.5.8.5.Installer.exe

That should just work as long is it is an app that "plays nice".

You should also see an icon in your gnome or KDE menu.

But.... yes, Vim is better. ;-)

  • wine: cannot find L"C:\\windows\\system32\\npp.5.8.5.Installer.exe" – bodhidarma1 Dec 14 '10 at 7:04
  • IIRC, you have to configure wine first, I think it's winecfg or something. I can't verify now since I don't have wine installed. I'm sure there are docs... You might have one or two issues. See appdb.winehq.org/objectManager.php?sClass=version&iId=13036 – Keith Dec 14 '10 at 18:01

I downloaded the zip distribution of Notepad++ 6.4.2 and launched notepad++.exe with wine.

So far it works.

Notepad++ (notepad-plus-plus) is a snap package in the default repositories of all currently supported versions of Ubuntu. To install Notepad++ open the terminal and type:

sudo snap install notepad-plus-plus  

To add Notepad++ navigation to other drives besides the default drive:

sudo snap connect notepad-plus-plus:removable-media

enter image description here

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.