How To Install texlive-metapost on Debian 12
Introduction
In this tutorial we learn how to install texlive-metapost
on Debian 12.
What is texlive-metapost
texlive-metapost is:
This package includes the following CTAN packages:
automata – Finite state machines, graphs and trees in MetaPost
bbcard – Bullshit bingo, calendar and baseball-score cards
blockdraw_mp – Block diagrams and bond graphs, with MetaPost
bpolynomial – Drawing polynomial functions of up to order 3
cmarrows – MetaPost arrows and braces in the Computer Modern style
drv – Derivation trees with MetaPost
dviincl – Include a DVI page into MetaPost output
emp – “Encapsulate” MetaPost figures in a document
epsincl – Include EPS in MetaPost figures
expressg – Diagrams consisting of boxes, lines, and annotations
exteps – Include EPS figures in MetaPost
featpost – MetaPost macros for 3D
feynmp-auto – Automatic processing of feynmp graphics
fiziko – A MetaPost library for physics textbook illustrations
garrigues – MetaPost macros for the reproduction of Garrigues’ Easter nomogram
gmp – Enable integration between MetaPost pictures and LaTeX
hatching – MetaPost macros for hatching interior of closed paths
hershey-mp – MetaPost support for the Hershey font file format
latexmp – Interface for LaTeX-based typesetting in MetaPost
mcf2graph – Draw chemical structure diagrams with MetaPost
metago – MetaPost output of Go positions
metaobj – MetaPost package providing high-level objects
metaplot – Plot-manipulation macros for use in MetaPost
metapost – A development of Metafont for creating graphics
metapost-colorbrewer – An implementation of the colorbrewer2.org colours for MetaPost
metauml – MetaPost library for typesetting UML diagrams
mfpic – Draw Metafont/post pictures from (La)TeX commands
mfpic4ode – Macros to draw direction fields and solutions of ODEs
minim-hatching – Create tiling patterns with the minim-mp MetaPost processor
mp3d – 3D animations
mparrows – MetaPost module with different types of arrow heads
mpattern – Patterns in MetaPost
mpcolornames – Extend list of predefined colour names for MetaPost
mpgraphics – Process and display MetaPost figures inline
mptrees – Probability trees with MetaPost
piechartmp – Draw pie-charts using MetaPost
repere – MetaPost macros for secondary school mathematics teachers
roex – Metafont-PostScript conversions
roundrect – MetaPost macros for highly configurable rounded rectangles (optionally with text)
shapes – Draw polygons, reentrant stars, and fractions in circles with MetaPost
slideshow – Generate slideshow with MetaPost
splines – MetaPost macros for drawing cubic spline interpolants
suanpan – MetaPost macros for drawing Chinese and Japanese abaci
textpath – Setting text along a path with MetaPost
threeddice – Create images of dice with one, two, or three faces showing, using MetaPost
There are three methods to install texlive-metapost
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install texlive-metapost Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install texlive-metapost
using apt-get
by running the following command:
sudo apt-get -y install texlive-metapost
Install texlive-metapost Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install texlive-metapost
using apt
by running the following command:
sudo apt -y install texlive-metapost
Install texlive-metapost 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 texlive-metapost
using aptitude
by running the following command:
sudo aptitude -y install texlive-metapost
How To Uninstall texlive-metapost on Debian 12
To uninstall only the texlive-metapost
package we can use the following command:
sudo apt-get remove texlive-metapost
Uninstall texlive-metapost And Its Dependencies
To uninstall texlive-metapost
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove texlive-metapost
Remove texlive-metapost Configurations and Data
To remove texlive-metapost
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge texlive-metapost
Remove texlive-metapost configuration, data, and all of its dependencies
We can use the following command to remove texlive-metapost
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge texlive-metapost
Dependencies
texlive-metapost have the following dependencies:
References
Summary
In this tutorial we learn how to install texlive-metapost
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.