If you are coming from a Windows desktop and looking for a way to install Notepad++ on your new Linux desktop then you are in luck. You actually have 2 options available for you, one of them is to install Wine (to run Windows applications inside Linux), the other is to install Notepadqq which is a Notepad++ clone that runs natively in Linux (no wine required).
Method 1: Install Wine And Notepad++
If you are going to use this method then you will not only be able to download and run the Windows version of Notepad++, but you will also be able to run other Windows applications as-well. This is great if you are new to Linux or reliant on Windows software that may not have an opensource counterpart.
So lets get started by installing Wine, please use one of the following commands based on which distribution you are running.
For Ubuntu / Debian / Linux Mint:
sudo apt-get install wine -y
For Cent OS / Fedora:
sudo yum install wine -y
After you have installed Wine, you can simply visit the official Notepad++ website and download the latest release. Installation will work the same as Windows, simply double click the icon and enjoy.
Method 2: Install Notepadqq
If you don’t want to install Wine on your system then feel free to use Notepadqq instead. Notepadqq is pretty much an exact clone of Notepad++ (minus a few small features). You can install Notepadqq by running the following commands based on your Linux distribution. For more information about Notepadqq please visit their official website.
For Ubuntu/Debian/Linux Mint:
sudo add-apt-repository ppa:notepadqq-team/notepadqq sudo apt-get update sudo apt-get install notepadqq
sudo wget -O /etc/yum.repos.d/sea-devel.repo http://sea.fedorapeople.org/sea-devel.repo sudo yum install notepadqq
Thats it, you have installed Notepadqq or Notepad++ based on whichever method you prefer. Please don’t forget to like/comment/share, thanks!