stoken command not found

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

Introduction

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

stoken: command not found

or when using sudo you get the following error message

sudo: stoken: command not found

Solutions to stoken: command not found

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

In Ubuntu stoken is provided by stoken package.

stoken is:

stoken is a software token which generates one-time passwords compatible with RSA SecurID 128-bit (AES) tokens. SecurID tokens are commonly used to authenticate end users to protected network resources and VPNs, as OTPs provide greater resistance to many attacks associated with static passwords.

stoken aims to provide a Linux-friendly, free software alternative to the proprietary RSA SecurID Software Authenticators.

This package contains standalone command-line and GTK+ GUI programs that allow for importing token seeds, generating tokencodes, and various utility/testing functions.

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

sudo apt-get -y install stoken

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

You can also use apt command to install stoken.

sudo apt -y install stoken

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

sudo aptitude install stoken

Summary

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