How To Install twolame on Kali Linux

In this tutorial we learn how to install twolame on Kali Linux. twolame is MPEG Audio Layer 2 encoder (command line frontend)

Introduction

In this tutorial we learn how to install twolame on Kali Linux.

What is twolame

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.

There are three methods to install twolame on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install twolame Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install twolame using apt-get by running the following command:

sudo apt-get -y install twolame

Install twolame Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install twolame using apt by running the following command:

sudo apt -y install twolame

Install twolame Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install twolame using aptitude by running the following command:

sudo aptitude -y install twolame

How To Uninstall twolame on Kali Linux

To uninstall only the twolame package we can use the following command:

sudo apt-get remove twolame

Uninstall twolame And Its Dependencies

To uninstall twolame and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove twolame

Remove twolame Configurations and Data

To remove twolame configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge twolame

Remove twolame configuration, data, and all of its dependencies

We can use the following command to remove twolame configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge twolame

Dependencies

twolame have the following dependencies:

References

Summary

In this tutorial we learn how to install twolame package on Kali Linux using different package management tools: apt, apt-get and aptitude.