ym2wav command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ym2wav: command not found
or when using sudo you get the following error message
sudo: ym2wav: command not found
Solutions to ym2wav: command not found
How To Fix ym2wav: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ym2wav is provided by stymulator package.
stymulator is:
STYMulator is an Open Source (GPL License) player which plays music files in the YM chiptune format. In particular the YM files are Yamaha YM2149 soundchip music datas (registers) dumped from the ATARI 16-bit computers.
The YM chiptune ‘standard’ has been introduced in the middle of 90’s by Arnaud Carré aka Leonard/OXG. His sensational ST-Sound player has been released for Windows only. Ten years after the first ST-Sound creation he released ST-Sound library under GPL license.
STYMulator has a very simple terminal GUI. It has been written in pure ANSI C code with ncurses library. Sounds are generated through ALSA.
This package contains both ymplayer (curse based player) and ym2wav, a console YM to Wave converter.
To fix this problem, we can install more using the command below.
sudo apt-get -y install stymulator
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install stymulator.
sudo apt -y install stymulator
Or if you have aptitude installed you can use the following command.
sudo aptitude install stymulator
Summary
In this tutorial we learn how to fix ym2wav command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.