Compiling the application
-
Hello dear developers. I have been using the Notepad code editor for about 10 years.
5 years of which I have been using this editor in an operating system with a Linux kernel. But unfortunately it is still not possible to install this editor from the repository, there are no deb and rpm packages on the site to install.
To begin with, you need to put the Wine compatibility layer with applications for the Windows operating system.
Please compile this application for Linux kernel systems. Thank you for your time.
-
Hello dear developers. I have been using the Notepad code editor for about 10 years.
Hello dear Notepad++ user (note that the ++ is significant; “Notepad” without the ++ is the Microsoft Windows default application for editing text).
The primary Notepad++ Developer does not hang out in this forum. This forum is a Community of fellow Notepad++ users, not developers.
5 years of which I have been using this editor in an operating system with a Linux kernel. …
Please compile this application for Linux kernel systemsYou have been using Notepad++ on Linux for 5 years? Great for you. Glad it’s worked. But during that time of using Linux, you must have come across the difference between Windows and Linux, and you must have heard that binaries aren’t compatible between the two.
The reason you have needed to use Wine is because the WIN32 API (“Windows Messaging”) calls that Windows applications use a different calling structure than native Linux programs. The “Windows Messaging” around which Notepad++ and most other Windows applications are written is completely incompatible with Linux, and to run such a beast on Linux, there needs to be a compatibility layer (“Wine” provides that layer).
“Now wait”, you might say, “I have seen applications that were written in such a way that they can be compiled on both Windows and Linux and run just fine, like XXXX and YYYY”. Yes, you have. There are plenty. But they are written from the ground up in the Linux style, with the Linux-style libraries, and UI modules like GTK or similar that have had their UI libraries ported to work on Windows as well. Notepad++ was not written that way, and cannot be compiled natively for Linux without being completely re-written, at which point it would cease to be Notepad++.
But unfortunately it is still not possible to install this editor from the repository, there are no deb and rpm packages on the site to install.
Notepad++ has never provided pre-built packages for Linux because Notepad++ is a Windows application, not a Linux application, and the developers do not support Linux, nor have ever claimed to. Pre-built packages are available on some Linux distros (I think Ubuntu is one I’ve heard does have a pre-built package, but I cannot be sure).
According to Ubuntu’s help page for Wine, all you should need to do to install a Windows application in Wine that you don’t have a prebuilt package for is to download the application’s installer EXE (like Notepad++'s current version of https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.1.9.3/npp.8.1.9.3.Installer.x64.exe) and save to a directory on your Linux machine, then
cd
into that directory and runwine npp.8.1.9.3.Installer.x64.exe
, which will run the installer under Wine; then it will be installed in Wine, and you can follow their instructions for how to run it under Wine. It looks simple enough.