texifylex command not found

In this troubleshooting guide we learn how to fix texifylex command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

texifylex: command not found

or when using sudo you get the following error message

sudo: texifylex: command not found

Solutions to texifylex: command not found

How To Fix texifylex: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu texifylex is provided by texify package.

texify is:

Texify is a perl script that translates source code written in any of several different languages to LaTeX source files. The purpose is to make source code embedded in documents more readable, by performing syntax highlighting.

The supported languages are ABEL, Ada, Assembly, B, BETA, Bison, C, C++, OMG/CORBA IDL, Java, Lex, Lisp, LOGLA, MATLAB, ML, Perl, Promela, Python, Scheme, SIMULA, SQL, Ruby and VHDL.

To fix this problem, we can install more using the command below.

sudo apt-get -y install texify

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install texify.

sudo apt -y install texify

Or if you have aptitude installed you can use the following command.

sudo aptitude install texify

Summary

In this tutorial we learn how to fix texifylex command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.