plastex command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
plastex: command not found
or when using sudo you get the following error message
sudo: plastex: command not found
Solutions to plastex: command not found
How To Fix plastex: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu plastex is provided by plastex package.
plastex is:
plasTeX is a collection of Python frameworks that allow you to process LaTeX documents. This processing includes, but is not limited to, conversion of LaTeX documents to various document formats. Of course, it is capable of converting to HTML or XML formats such as DocBook and tBook, but it is an open framework that allows you to drive any type of rendering. This means that it could be used to drive a COM object that creates a MS Word Document.
The plasTeX framework allows you to control all of the processes including tokenizing, object creation, and rendering through API calls. You also have access to all of the internals such as counters, the states of “if” commands, locally and globally defined macros, labels and references, etc. In essence, it is a LaTeX document processor that gives you the advantages of an XML document in the context of a language as superb as Python.
This package contains the command line tool ‘plastex’.
To fix this problem, we can install more using the command below.
sudo apt-get -y install plastex
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install plastex.
sudo apt -y install plastex
Or if you have aptitude installed you can use the following command.
sudo aptitude install plastex
Summary
In this tutorial we learn how to fix plastex command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.