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?
37 Answers
Install Wine:
sudo apt-get install wineConfigure version (Windows 8 works for me) and drives (Autodetect,
../drive_cpoints to~/.wine/drive_c/):winecfgInstall:
wine ~/Downloads/npp.7.3.3.Installer.exeRunning 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.
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.Uninstall:
wine uninstallRun again to make sure it's gone.
Just run the installer with wine.
$ wine npp.5.8.5.Installer.exeThat 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. ;-)
2Notepad++ (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 2 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
Enable 32bit on a 64bit environment (more...)
sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get dist-upgradeInstall the latest version of Wine (more...)
sudo apt-get install --install-recommends winehq-stable wine --version:~$ wine-3.0.1
Configure version (Windows 8 worked for me) and drives (Autodetect,
../drive_cpoints to~/.wine/drive_c/)winecfgAdd 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 stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list sudo apt updateOpen win32 applications with
winefrom Program Files (x86)wine "C:\Program Files (x86)\Notepad++\notepad++.exe"FYI: You can explore the wine environment with a dos shell
wine cmd
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.
6I downloaded the zip distribution of Notepad++ 6.4.2 and launched notepad++.exe with wine.
So far it works.
Update you wine installation to latest version.
First enable 32-bit architecture -
sudo dpkg --add-architecture i386Then add winehq repository key -
sudo apt-add-repository 'deb <your version of Ubuntu> main'Update -
sudo apt updateInstall wine -
sudo apt install --install-recommends winehq-stableyou can check your wine version using -
wine --versionAt the time of writing it is - wine-6.0
Go to - Notepad Plus Plus download site
At the time of writing the latest release is Notepad++ 8.1.9.1
Download 32-bit or 64-bit installer with .exe extension
At the time of writing latest 32-bit installer is - npp.8.1.9.1.Installer.exe and 64-bit installer is npp.8.1.9.1.Installer.x64.exe
Use wine to install it -
For 32-bit -
wine npp.8.1.9.1.Installer.exeFor 64-bit -
wine64 npp.8.1.9.1.Installer.x64.exeThe windows installer dialog menu appears. Follow the instructions to finish the installation.
Once installation is complete open Ubuntu Applications Menu or search for Applications and you will get - Notepad++