cweavex command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cweavex: command not found
or when using sudo you get the following error message
sudo: cweavex: command not found
Solutions to cweavex: command not found
How To Fix cweavex: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cweavex is provided by cwebx package.
cwebx is:
CWEBx is a complete rewrite of Levy & Knuth’s version of CWEB. It uses a slightly different syntax from the L&K version, but provides a compatibility mode allowing L&K CWEB sources to be processed, producing similar (though not necessarily identical) output.
CWEB allows you to write documents which can be used simultaneously as C/C++ programs and as TeX documentation for them.
The philosophy behind CWEB is that programmers who want to provide the best possible documentation for their programs need two things simultaneously: a language like TeX for formatting, and a language like C for programming. Neither type of language can provide the best documentation by itself. But when both are appropriately combined, we obtain a system that is much more useful than either language separately.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cwebx
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cwebx.
sudo apt -y install cwebx
Or if you have aptitude installed you can use the following command.
sudo aptitude install cwebx
Summary
In this tutorial we learn how to fix cweavex command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.