cstool command not found

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

Introduction

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

cstool: command not found

or when using sudo you get the following error message

sudo: cstool: command not found

Solutions to cstool: command not found

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

In Ubuntu cstool is provided by capstone-tool package.

capstone-tool is:

Capstone is a lightweight multi-platform, multi-architecture disassembly framework.

This package contains cstool, a command-line tool to disassemble hexadecimal strings.

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

sudo apt-get -y install capstone-tool

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

You can also use apt command to install capstone-tool.

sudo apt -y install capstone-tool

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

sudo aptitude install capstone-tool

Summary

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