ctemplate-make_tpl_varnames_h command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ctemplate-make_tpl_varnames_h: command not found
or when using sudo you get the following error message
sudo: ctemplate-make_tpl_varnames_h: command not found
Solutions to ctemplate-make_tpl_varnames_h: command not found
How To Fix ctemplate-make_tpl_varnames_h: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ctemplate-make_tpl_varnames_h is provided by libctemplate-dev package.
libctemplate-dev is:
This package contains a library implementing a simple but powerful template language for C++. It emphasizes separating logic from presentation: it is impossible to embed application logic in this template language. The devel package contains static and debug libraries and header files for developing applications that use the ctemplate package. This package contains the ctemplate development files.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libctemplate-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libctemplate-dev.
sudo apt -y install libctemplate-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install libctemplate-dev
Summary
In this tutorial we learn how to fix ctemplate-make_tpl_varnames_h command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.