Notepadqq is a text editor designed from developers, for developers.
Please visit our Wiki for more screenshots and details.
Build dependencies | Dependencies |
---|---|
Qt 5.3 | Qt 5.3 |
libqt5webkit5-dev | libqt5webkit5 |
libqt5svg5-dev | libqt5svg5 |
qttools5-dev-tools | coreutils |
$ git clone --recursive https://github.com/notepadqq/notepadqq.git
$ cd notepadqq
notepadqq$ ./configure --prefix /usr
notepadqq$ make
If you encounter errors make sure to have the necessary libraries installed. For Ubuntu you can do that using apt-get:
notepadqq$ sudo apt-get install qt5-default qttools5-dev-tools libqt5webkit5 libqt5webkit5-dev libqt5webkit5-qmlwebkitplugin libqt5svg5 libqt5svg5-dev
For Fedora(if >17 replace yum by dnf), CentOS RedHat(if >6 replace yum by dnf):
notepadqq$ sudo yum install -y qt5 qt5-devel qt5-qtbase-devel qt5-qttools-devel qt5-qtwebkit-devel qt5-qtsvg-devel
For build rpm
for Centos Readhat require epel-release
notepadqq$ sudo yum install -y epel-release
Builder dépendencie for build rpm
notepadqq$ sudo yum install -y rpmdevtools yum-utils wget
notepadqq$ sudo yum -y groupinstall "Fedora Packager"
Download Source and build rpm
notepadqq$ cd ~/rpmbuild/SOURCES
notepadqq$ wget https://github.com/notepadqq/notepadqq/archive/v1.3.1.tar.gz - O notepadqq-1.3.1.tar.gz
notepadqq$ wget https://github.com/notepadqq/notepadqq/raw/master/notepadqq.spec
notepadqq$ rpmbuild -ba notepadqq.spec
You can run notepadqq from its build output folder. If however you want to install it, first build it by following the above steps, then run
notepadqq$ sudo make install
Notepadqq might work on Qt 5.2, but it is recommended to use Qt 5.3 or later. If the newest version isn't available on your distribution, you can use the online installer to get the latest libraries and install them into your home directory ($HOME/Qt
). Notepadqq will automatically use them.
To install the latest stable version:
notepadqq$ sudo snap install notepadqq
If, instead, you want to follow the (UNSTABLE) development releases:
notepadqq$ sudo snap install --edge notepadqq
You don't have the snap
command? Follow the instructions at https://docs.snapcraft.io/core/install and then install Notepadqq as shown above.
You should prefer using Snap packages, which are natively supported on Ubuntu (see above). Anyway, Notepadqq is also available from an official PPA:
notepadqq$ sudo add-apt-repository -y ppa:notepadqq-team/notepadqq
notepadqq$ sudo apt-get update
notepadqq$ sudo apt-get -y install notepadqq
Download a deb package from the Ubuntu PPA: download
notepadqq$ sudo dnf -y install https://rpms.remirepo.net/fedora/remi-release-$(cat /etc/os-release | grep VERSION_ID= | sed 's|VERSION_ID=||').rpm http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(cat /etc/os-release | grep VERSION_ID= | sed 's|VERSION_ID=||').noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(cat /etc/os-release | grep VERSION_ID= | sed 's|VERSION_ID=||').noarch.rpm
notepadqq$ sudo dnf -y copr enable andykimpe/Fedora-Stable
notepadqq$ sudo dnf -y install notepadqq
copr fedora stable project page
https://copr.fedorainfracloud.org/coprs/andykimpe/Fedora-Stable/
Notepadqq is available from Arch's community repositories. To install using pacman:
notepadqq$ sudo pacman -S notepadqq
Alternatively it can be found in the AUR:
- Stable (pre-built Debian package): notepadqq-bin
- Development (git version): notepadqq-git
Notepadqq is avilable in OpenSUSE's main repository:
notepadqq$ sudo zypper in notepadqq
Notepadqq is available in the shannon
(stable) repository:
notepadqq$ sudo eopkg it notepadqq
Use a package for a compatible distribution, or build from source. If you want to submit a package: https://github.com/notepadqq/notepadqq-packaging
While we do not (yet) officially support it, compiling and running Notepadqq on macOS is not very difficult. Instructions can be found here.