Kwrite is a KDE application. It is not included by default in a GNOME based Ubuntu. You can install it using your package manager, but be aware, it brings a lot of other libs with it.
Try something like:
sudo apt-get install kwrite
that command is possibly not exactly correct, but it should be close