Build It

For information how to build Kate 4.x (KDE 4.x based), please refer to the Get It – KDE 4.x page.
This page will handle the case of the current KF5 based Kate.

Building Kate from Sources on Linux

This quick howto explains how to build Kate without touching your stable KDE installation. Right now, Kate’s source code is located on git.kde.org. To build Kate from git, you need a recent KF5 frameworks installed. Further,

make sure you have the following packages installed: git and the KF5 development package (and CMake).to install on openSUSE (13.2, with Qt5/KF5 repos activated):

create and change into a KDE development directory:mkdir -p ~/kde/usr; cd ~/kde

get a copy of the Kate code:git clone git://anongit.kde.org/kate
cd kateNOTE: If you want to build KTextEditor (the editor component), you need to follow exactly the same steps, but replace ‘kate’ with ‘ktexteditor’ everywhere.

Now you can run the compiled Kate version from you shell via kate after sourcing this script via . ~/kde/env.sh.

Your copy of Kate contains all of the Kate code, i.e.: Kate, KWrite and all bundled plugins. You can keep your copy up-to-date by typing `git pull --rebase` in ~/kde/kate. Feel free to send patches to phabricator.kde.org for review. If you have questions you can ask them on our mailing list kwrite-devel@kde.org and/or join #kate on irc.kde.org :–)

Building Kate from Sources on Windows

To build the KF5 based Kate/KWrite you can follow the guide on KDE on Windows.

Building Kate from Sources on Mac OS

To build the KF5 based Kate/KWrite you can follow the guide on KDE on Mac.