heapy command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
heapy: command not found
or when using sudo you get the following error message
sudo: heapy: command not found
Solutions to heapy: command not found
How To Fix heapy: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu heapy is provided by ruby-heapy package.
ruby-heapy is:
A CLI for analyzing Ruby Heap dumps.
To use this tool, just generate a heap dump, manually or using tools like derailed_benchmarks. Once you’ve got the heap dump, you can analyze it using this CLI.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ruby-heapy
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ruby-heapy.
sudo apt -y install ruby-heapy
Or if you have aptitude installed you can use the following command.
sudo aptitude install ruby-heapy
Summary
In this tutorial we learn how to fix heapy command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.