threadscope command not found

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

Introduction

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

threadscope: command not found

or when using sudo you get the following error message

sudo: threadscope: command not found

Solutions to threadscope: command not found

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

In Ubuntu threadscope is provided by threadscope package.

threadscope is:

Threadscope is a graphical thread profiler for Haskell programs. It parses and displays the content of .eventlog files emitted by the GHC 6.12.1 and later runtimes, showing a timeline of spark creation, spark-to-thread promotions and garbage collections.

This helps debugging the parallel performance of Haskell programs, making easier to check that work is well balanced across the available processors and spot performance issues relating to garbage collection or poor load balancing.

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

sudo apt-get -y install threadscope

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

You can also use apt command to install threadscope.

sudo apt -y install threadscope

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

sudo aptitude install threadscope

Summary

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