kapptemplate command not found

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

Introduction

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

kapptemplate: command not found

or when using sudo you get the following error message

sudo: kapptemplate: command not found

Solutions to kapptemplate: command not found

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

In Ubuntu kapptemplate is provided by kapptemplate package.

kapptemplate is:

KAppTemplate is a shell script that will create the necessary framework to develop several types of applications, including applications based on the KDE development platform.

It generates the build-system configuration and provides example code for a simple application.

This package is part of the KDE Software Development Kit module.

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

sudo apt-get -y install kapptemplate

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

You can also use apt command to install kapptemplate.

sudo apt -y install kapptemplate

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

sudo aptitude install kapptemplate

Summary

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