How To Install context-modules on Debian 9
Introduction
In this tutorial we learn how to install context-modules
on Debian 9.
What is context-modules
context-modules 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.
This package includes the following additional ConTeXt modules: account, algorithmic, bnf, chromato, construction-plan, degrade, filter, fixme, french, fullpage, games, gnuplot, letter, lettrine, lilypond, mathsets, rst, ruby, simplefonts, simpleslides, typearea, typescripts, vim.
There are three methods to install context-modules
on Debian 9. 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-modules Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install context-modules
using apt-get
by running the following command:
sudo apt-get -y install context-modules
Install context-modules Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install context-modules
using apt
by running the following command:
sudo apt -y install context-modules
Install context-modules 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install context-modules
using aptitude
by running the following command:
sudo aptitude -y install context-modules
How To Uninstall context-modules on Debian 9
To uninstall only the context-modules
package we can use the following command:
sudo apt-get remove context-modules
Uninstall context-modules And Its Dependencies
To uninstall context-modules
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove context-modules
Remove context-modules Configurations and Data
To remove context-modules
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge context-modules
Remove context-modules configuration, data, and all of its dependencies
We can use the following command to remove context-modules
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge context-modules
Dependencies
context-modules have the following dependencies:
References
Summary
In this tutorial we learn how to install context-modules
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.