tpsclient command not found

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

Introduction

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

tpsclient: command not found

or when using sudo you get the following error message

sudo: tpsclient: command not found

Solutions to tpsclient: command not found

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

In Ubuntu tpsclient is provided by pki-tps-client package.

pki-tps-client is:

Certificate System (CS) is an enterprise software system designed to manage enterprise Public Key Infrastructure (PKI) deployments.

The Token Processing System (TPS) is an optional PKI subsystem that acts as a Registration Authority (RA) for authenticating and processing enrollment requests, PIN reset requests, and formatting requests from the Enterprise Security Client (ESC).

TPS is designed to communicate with tokens that conform to Global Platform’s Open Platform Specification.

TPS communicates over SSL with various PKI backend subsystems (including the Certificate Authority (CA), the Data Recovery Manager (DRM), and the Token Key Service (TKS)) to fulfill the user’s requests.

TPS also interacts with the token database, an LDAP server that stores information about individual tokens.

This client is a test tool that interacts with TPS. It is useful to test TPS server configs without risking an actual smart card.

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

sudo apt-get -y install pki-tps-client

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

You can also use apt command to install pki-tps-client.

sudo apt -y install pki-tps-client

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

sudo aptitude install pki-tps-client

Summary

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