How To Install qtikz on Ubuntu 18.04

In this tutorial we learn how to install qtikz on Ubuntu 18.04. qtikz is editor for the TikZ drawing language - Qt version

Introduction

In this tutorial we learn how to install qtikz on Ubuntu 18.04.

What is qtikz

qtikz is:

QtikZ 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 Qt 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 qtikz on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install qtikz Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install qtikz using apt-get by running the following command:

sudo apt-get -y install qtikz

Install qtikz Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install qtikz using apt by running the following command:

sudo apt -y install qtikz

Install qtikz Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install qtikz using aptitude by running the following command:

sudo aptitude -y install qtikz

How To Uninstall qtikz on Ubuntu 18.04

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

sudo apt-get remove qtikz

Uninstall qtikz And Its Dependencies

To uninstall qtikz and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove qtikz

Remove qtikz Configurations and Data

To remove qtikz configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge qtikz

Remove qtikz configuration, data, and all of its dependencies

We can use the following command to remove qtikz configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge qtikz

References

Summary

In this tutorial we learn how to install qtikz package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.