How To Install ktikz on Kali Linux
Introduction
In this tutorial we learn how to install ktikz on Kali Linux.
What is ktikz
ktikz is:
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.
TikZ is a user-friendly syntax layer for the PGF (portable graphics format) TeX macro package. Pictures can be created within a LaTeX document and included in the output using the most important TeX backend drivers including pdftex and dvips.
There are three methods to install ktikz on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install ktikz Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ktikz using apt-get by running the following command:
sudo apt-get -y install ktikzInstall ktikz Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ktikz using apt by running the following command:
sudo apt -y install ktikzInstall ktikz Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install ktikz using aptitude by running the following command:
sudo aptitude -y install ktikzHow To Uninstall ktikz on Kali Linux
To uninstall only the ktikz package we can use the following command:
sudo apt-get remove ktikzUninstall ktikz And Its Dependencies
To uninstall ktikz and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ktikzRemove ktikz Configurations and Data
To remove ktikz configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ktikzRemove ktikz configuration, data, and all of its dependencies
We can use the following command to remove ktikz configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ktikzDependencies
ktikz have the following dependencies:
- preview-latex-style
- texlive-pictures
- kio
- libc6
- libkf5completion5
- libkf5configcore5
- libkf5configgui5
- libkf5configwidgets5
- libkf5coreaddons5
- libkf5i18n5
- libkf5iconthemes5
- libkf5jobwidgets5
- libkf5kiocore5
- libkf5kiowidgets5
- libkf5parts5
- libkf5texteditor5
- libkf5widgetsaddons5
- libkf5xmlgui5
- libpoppler-qt5-1
- libqt5core5a
- libqt5gui5
- libqt5printsupport5
- libqt5widgets5
- libstdc++6
References
Summary
In this tutorial we learn how to install ktikz package on Kali Linux using different package management tools: apt, apt-get and aptitude.