How To Install tgif on Kali Linux
Introduction
In this tutorial we learn how to install tgif on Kali Linux.
What is tgif
tgif is:
Tgif (originally the “Tangram Graphic Interface Facility”) is a classic drawing program for 2D vector graphics. Image objects can be hierarchically constructed out of primitives such as polygons, text, and splines (though the splines Tgif draws are not B?zier curves).
It natively supports PostScript formats suitable for LaTeX, as well as X11 bitmap or (version 1) pixmap formats. Other vector and raster image formats such as SVG and PNG can be handled via filters.
Tgif stores drawings as .obj files and individual building-block objects as .sym files, both in Prolog-compatible fact file format.
There are three methods to install tgif 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 tgif Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install tgif using apt-get by running the following command:
sudo apt-get -y install tgifInstall tgif Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install tgif using apt by running the following command:
sudo apt -y install tgifInstall tgif 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 tgif using aptitude by running the following command:
sudo aptitude -y install tgifHow To Uninstall tgif on Kali Linux
To uninstall only the tgif package we can use the following command:
sudo apt-get remove tgifUninstall tgif And Its Dependencies
To uninstall tgif and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove tgifRemove tgif Configurations and Data
To remove tgif configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge tgifRemove tgif configuration, data, and all of its dependencies
We can use the following command to remove tgif configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge tgifDependencies
tgif have the following dependencies:
References
Summary
In this tutorial we learn how to install tgif package on Kali Linux using different package management tools: apt, apt-get and aptitude.