tasm command not found

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

Introduction

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

tasm: command not found

or when using sudo you get the following error message

sudo: tasm: command not found

Solutions to tasm: command not found

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

In Ubuntu tasm is provided by yasm package.

yasm is:

Yasm is a complete rewrite of the NASM assembler. It supports multiple assembler syntaxes (eg, NASM, GAS, TASM, etc.) in addition to multiple output object formats (binary objects, COFF, Win32, ELF32, ELF64) and even multiple instruction sets (including AMD64). It also has an optimiser module.

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

sudo apt-get -y install yasm

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

You can also use apt command to install yasm.

sudo apt -y install yasm

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

sudo aptitude install yasm

Summary

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