How To Install context on Kali Linux
Introduction
In this tutorial we learn how to install context on Kali Linux.
What is context
context is:
ConTeXt is a document-production system based, like LaTeX, on the TeX typesetting system. Whereas LaTeX insulates the writer from typographical details, ConTeXt takes a complementary approach by providing structured interfaces for handling typography, including extensive support for colors, backgrounds, hyperlinks, presentations, figure-text integration, and conditional compilation. It gives the user extensive control over formatting while making it easy to create new layouts and styles without learning the TeX macro language. ConTeXt’s unified design averts the package clashes that can happen with LaTeX.
ConTeXt also integrates MetaFun, a superset of MetaPost and a powerful system for vector graphics. MetaFun can be used as a stand-alone system to produce figures, but its strength lies in enhancing ConTeXt documents with accurate graphic elements.
ConTeXt allows the users to specify formatting commands in English, Dutch, German, French, or Italian, and to use different typesetting engines (PDFTeX, XeTeX, Aleph, and soon LuaTeX) without changing the user interface. ConTeXt is developed rapidly, often in response to requests from the friendly user community.
There are three methods to install context 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 context Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install context using apt-get by running the following command:
sudo apt-get -y install contextInstall context Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install context using apt by running the following command:
sudo apt -y install contextInstall context 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 context using aptitude by running the following command:
sudo aptitude -y install contextHow To Uninstall context on Kali Linux
To uninstall only the context package we can use the following command:
sudo apt-get remove contextUninstall context And Its Dependencies
To uninstall context and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove contextRemove context Configurations and Data
To remove context configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge contextRemove context configuration, data, and all of its dependencies
We can use the following command to remove context configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge contextDependencies
context have the following dependencies:
References
Summary
In this tutorial we learn how to install context package on Kali Linux using different package management tools: apt, apt-get and aptitude.