ktp-log-viewer command not found

In this troubleshooting guide we learn how to fix ktp-log-viewer command not found error message

Introduction

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

ktp-log-viewer: command not found

or when using sudo you get the following error message

sudo: ktp-log-viewer: command not found

Solutions to ktp-log-viewer: command not found

How To Fix ktp-log-viewer: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ktp-log-viewer is provided by kde-telepathy-text-ui package.

kde-telepathy-text-ui is:

This package provides a telepathy handler for text channels, a program that in other words allows you to chat with your contacts using instant text messages.

In addition, this package also provides a UI for viewing telepathy text chat logs.

This package is not meant to be used standalone. It is recommended to install the kde-telepathy metapackage instead.

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

sudo apt-get -y install kde-telepathy-text-ui

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

You can also use apt command to install kde-telepathy-text-ui.

sudo apt -y install kde-telepathy-text-ui

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

sudo aptitude install kde-telepathy-text-ui

Summary

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