cwcompile command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cwcompile: command not found
or when using sudo you get the following error message
sudo: cwcompile: command not found
Solutions to cwcompile: command not found
How To Fix cwcompile: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cwcompile is provided by gauche-c-wrapper package.
gauche-c-wrapper is:
c-wrapper is a foreign function interface for C and Objective-C libraries. It can parse C header files, so you don’t need to define functions, global variables and constants to use libraries.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gauche-c-wrapper
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gauche-c-wrapper.
sudo apt -y install gauche-c-wrapper
Or if you have aptitude installed you can use the following command.
sudo aptitude install gauche-c-wrapper
Summary
In this tutorial we learn how to fix cwcompile command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.