How To Install tk-mpeg on Kali Linux

In this tutorial we learn how to install tk-mpeg on Kali Linux. tk-mpeg is Tk MPEG1 encoder based on ezMPEG

Introduction

In this tutorial we learn how to install tk-mpeg on Kali Linux.

What is tk-mpeg

tk-mpeg is:

Tk-mpeg is a simple and portable Tk package to encode MPEG1 streams. Based on ezMPEG, it has the following features:

  • based on ISO-11172.2 Specs
  • I-frame encoding
  • GOP size can be defined
  • quality settings can be defined
  • multiple parallel streams
  • variable bitrate

There are three methods to install tk-mpeg 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 tk-mpeg Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install tk-mpeg

Install tk-mpeg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tk-mpeg

Install tk-mpeg 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 tk-mpeg using aptitude by running the following command:

sudo aptitude -y install tk-mpeg

How To Uninstall tk-mpeg on Kali Linux

To uninstall only the tk-mpeg package we can use the following command:

sudo apt-get remove tk-mpeg

Uninstall tk-mpeg And Its Dependencies

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

sudo apt-get -y autoremove tk-mpeg

Remove tk-mpeg Configurations and Data

To remove tk-mpeg configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge tk-mpeg

Remove tk-mpeg configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge tk-mpeg

Dependencies

tk-mpeg have the following dependencies:

References

Summary

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