HSAILasm command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
HSAILasm: command not found
or when using sudo you get the following error message
sudo: HSAILasm: command not found
Solutions to HSAILasm: command not found
How To Fix HSAILasm: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu HSAILasm is provided by hsail-tools package.
hsail-tools is:
HSAIL-Tools are used for parsing, assembling, and disassembling HSAIL.
This version of libHSAIL supports the HSA PRM 1.02 (Final) specification.
To fix this problem, we can install more using the command below.
sudo apt-get -y install hsail-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install hsail-tools.
sudo apt -y install hsail-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install hsail-tools
Summary
In this tutorial we learn how to fix HSAILasm command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.