asfxload command not found

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

Introduction

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

asfxload: command not found

or when using sudo you get the following error message

sudo: asfxload: command not found

Solutions to asfxload: command not found

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

In Ubuntu asfxload is provided by awesfx package.

awesfx is:

This package contains the following programs:

  • asfxload SoundFont file loader (ALSA)
  • sfxload SoundFont file loader (OSS)
  • setfx Chorus/reverb effect loader
  • aweset Change the running mode of AWE driver
  • sf2text Convert SoundFont to readable text
  • text2sf Convert from text to SoundFont file
  • gusload GUS PAT file loader
  • sfxtest Example program to control AWE driver

The package includes a collection of SoundFont managing routines called AWElib. By default, AWElib is installed as a static library.

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

sudo apt-get -y install awesfx

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

You can also use apt command to install awesfx.

sudo apt -y install awesfx

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

sudo aptitude install awesfx

Summary

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