ctemplate-diff_tpl_auto_escape command not found

In this troubleshooting guide we learn how to fix ctemplate-diff_tpl_auto_escape command not found error message

Introduction

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

ctemplate-diff_tpl_auto_escape: command not found

or when using sudo you get the following error message

sudo: ctemplate-diff_tpl_auto_escape: command not found

Solutions to ctemplate-diff_tpl_auto_escape: command not found

How To Fix ctemplate-diff_tpl_auto_escape: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ctemplate-diff_tpl_auto_escape 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-diff_tpl_auto_escape command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.