twolame command not found

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

Introduction

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

twolame: command not found

or when using sudo you get the following error message

sudo: twolame: command not found

Solutions to twolame: command not found

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

In Ubuntu twolame is provided by twolame package.

twolame is:

TwoLAME is an optimized MPEG Audio Layer 2 encoder. It is based on tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and portions of LAME.

Because of patent issues surrounding the MPEG Audio Layer 3 (MP3) encoders, the ability of most MPEG Audio players to play layer 2 files, and the similarity in command-line syntax and API, TwoLAME makes a very good drop-in replacement for LAME or other layer 3 encoders.

This package contains the command line frontend encoder.

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

sudo apt-get -y install twolame

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

You can also use apt command to install twolame.

sudo apt -y install twolame

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

sudo aptitude install twolame

Summary

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