How To Install ktikz on Fedora 34

ktikz is KDE Editor for the TikZ language

Introduction

In this tutorial we learn how to install ktikz on Fedora 34.

What is ktikz

KTikZ is a small application to assist in the creation of diagrams and drawings using the TikZ macros from the LaTeX package “pgf”. It consists of a text editor pane in which the TikZ code for the drawing is edited and a preview pane showing the drawing as rendered by LaTeX. The preview pane can be updated in real-time. Common drawing tools, options and styles are available from the menus to assist the coding process. This package contains the KDE version of the program.

We can use yum or dnf to install ktikz on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install ktikz.

Install ktikz on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install ktikz using dnf by running the following command:

sudo dnf -y install ktikz

Install ktikz on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install ktikz using yum by running the following command:

sudo yum -y install ktikz

How To Uninstall ktikz on Fedora 34

To uninstall only the ktikz package we can use the following command:

sudo dnf remove ktikz

ktikz Package Contents on Fedora 34

/usr/bin/ktikz
/usr/lib/.build-id
/usr/lib/.build-id/55
/usr/lib/.build-id/55/c7c4e376504fd45beb648968d80fb9414e1589
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/431c8fe7eb23e6f7a5726bcdffd482f43db630
/usr/lib64/qt5/plugins/ktikzpart.so
/usr/share/applications/ktikz.desktop
/usr/share/config.kcfg/ktikz.kcfg
/usr/share/doc/HTML/en/ktikz
/usr/share/doc/HTML/en/ktikz/commands.docbook
/usr/share/doc/HTML/en/ktikz/configuration-editor.png
/usr/share/doc/HTML/en/ktikz/configuration-general.png
/usr/share/doc/HTML/en/ktikz/configuration-highlighting.png
/usr/share/doc/HTML/en/ktikz/configuration.docbook
/usr/share/doc/HTML/en/ktikz/index.cache.bz2
/usr/share/doc/HTML/en/ktikz/index.docbook
/usr/share/doc/HTML/en/ktikz/interface-gotolinewidget.png
/usr/share/doc/HTML/en/ktikz/interface-indentwidget.png
/usr/share/doc/HTML/en/ktikz/interface-mainwindow.png
/usr/share/doc/HTML/en/ktikz/interface-replacecurrentwidget.png
/usr/share/doc/HTML/en/ktikz/interface-replacewidget.png
/usr/share/doc/HTML/en/ktikz/interface-templatewidget.png
/usr/share/doc/HTML/en/ktikz/interface.docbook
/usr/share/doc/HTML/en/ktikz/usage.docbook
/usr/share/doc/HTML/en/ktikz/usercommand-editdialog.png
/usr/share/doc/ktikz
/usr/share/doc/ktikz/Changelog
/usr/share/doc/ktikz/README.md
/usr/share/doc/ktikz/TODO
/usr/share/icons/hicolor/128x128/apps/ktikz.png
/usr/share/icons/hicolor/16x16/apps/ktikz.png
/usr/share/icons/hicolor/22x22/apps/ktikz.png
/usr/share/icons/hicolor/32x32/apps/ktikz.png
/usr/share/icons/hicolor/48x48/apps/ktikz.png
/usr/share/icons/hicolor/64x64/apps/ktikz.png
/usr/share/icons/hicolor/scalable/apps/ktikz.svg
/usr/share/icons/hicolor/scalable/apps/ktikz.svgz
/usr/share/kservices5/ktikzpart.desktop
/usr/share/ktikz
/usr/share/ktikz/templates
/usr/share/ktikz/templates/beamer-example-template.pgs
/usr/share/ktikz/templates/template_example.pgs
/usr/share/ktikz/templates/template_example2.pgs
/usr/share/ktikzpart
/usr/share/ktikzpart/ktikzpart.rc
/usr/share/kxmlgui5/ktikz
/usr/share/kxmlgui5/ktikz/ktikzui.rc
/usr/share/kxmlgui5/ktikz/ktikzui_frameworks.rc
/usr/share/licenses/ktikz
/usr/share/licenses/ktikz/LICENSE.FDL1.2
/usr/share/licenses/ktikz/LICENSE.GPL2
/usr/share/locale/cs/LC_MESSAGES/ktikz.mo
/usr/share/locale/de/LC_MESSAGES/ktikz.mo
/usr/share/locale/es/LC_MESSAGES/ktikz.mo
/usr/share/locale/fr/LC_MESSAGES/ktikz.mo
/usr/share/man/man1/ktikz.1.gz
/usr/share/metainfo/ktikz.appdata.xml
/usr/share/mime/packages/ktikz.xml
/usr/bin/ktikz
/usr/lib/.build-id
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/a97cba67a398727fb9280bd299291dea363ea8
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/66c3de2f8ce0414422c0de2fa9911a9b5d6dae
/usr/lib64/qt5/plugins/ktikzpart.so
/usr/share/applications/ktikz.desktop
/usr/share/config.kcfg/ktikz.kcfg
/usr/share/doc/HTML/en/ktikz
/usr/share/doc/HTML/en/ktikz/commands.docbook
/usr/share/doc/HTML/en/ktikz/configuration-editor.png
/usr/share/doc/HTML/en/ktikz/configuration-general.png
/usr/share/doc/HTML/en/ktikz/configuration-highlighting.png
/usr/share/doc/HTML/en/ktikz/configuration.docbook
/usr/share/doc/HTML/en/ktikz/index.cache.bz2
/usr/share/doc/HTML/en/ktikz/index.docbook
/usr/share/doc/HTML/en/ktikz/interface-gotolinewidget.png
/usr/share/doc/HTML/en/ktikz/interface-indentwidget.png
/usr/share/doc/HTML/en/ktikz/interface-mainwindow.png
/usr/share/doc/HTML/en/ktikz/interface-replacecurrentwidget.png
/usr/share/doc/HTML/en/ktikz/interface-replacewidget.png
/usr/share/doc/HTML/en/ktikz/interface-templatewidget.png
/usr/share/doc/HTML/en/ktikz/interface.docbook
/usr/share/doc/HTML/en/ktikz/usage.docbook
/usr/share/doc/HTML/en/ktikz/usercommand-editdialog.png
/usr/share/doc/ktikz
/usr/share/doc/ktikz/Changelog
/usr/share/doc/ktikz/README.md
/usr/share/doc/ktikz/TODO
/usr/share/icons/hicolor/128x128/apps/ktikz.png
/usr/share/icons/hicolor/16x16/apps/ktikz.png
/usr/share/icons/hicolor/22x22/apps/ktikz.png
/usr/share/icons/hicolor/32x32/apps/ktikz.png
/usr/share/icons/hicolor/48x48/apps/ktikz.png
/usr/share/icons/hicolor/64x64/apps/ktikz.png
/usr/share/icons/hicolor/scalable/apps/ktikz.svg
/usr/share/icons/hicolor/scalable/apps/ktikz.svgz
/usr/share/kservices5/ktikzpart.desktop
/usr/share/ktikz
/usr/share/ktikz/templates
/usr/share/ktikz/templates/beamer-example-template.pgs
/usr/share/ktikz/templates/template_example.pgs
/usr/share/ktikz/templates/template_example2.pgs
/usr/share/ktikzpart
/usr/share/ktikzpart/ktikzpart.rc
/usr/share/kxmlgui5/ktikz
/usr/share/kxmlgui5/ktikz/ktikzui.rc
/usr/share/kxmlgui5/ktikz/ktikzui_frameworks.rc
/usr/share/licenses/ktikz
/usr/share/licenses/ktikz/LICENSE.FDL1.2
/usr/share/licenses/ktikz/LICENSE.GPL2
/usr/share/locale/cs/LC_MESSAGES/ktikz.mo
/usr/share/locale/de/LC_MESSAGES/ktikz.mo
/usr/share/locale/es/LC_MESSAGES/ktikz.mo
/usr/share/locale/fr/LC_MESSAGES/ktikz.mo
/usr/share/man/man1/ktikz.1.gz
/usr/share/metainfo/ktikz.appdata.xml
/usr/share/mime/packages/ktikz.xml

References

Summary

In this tutorial we learn how to install ktikz on Fedora 34 using yum and dnf.