How To Install tstools on Kali Linux
Introduction
In this tutorial we learn how to install tstools on Kali Linux.
What is tstools
tstools is:
TStools is a set of cross-platform command line tools for working with MPEG data.
The emphasis is on relatively simple tools which concentrate on MPEG (H.264 and H.262) data packaged according to H.222 (i.e., TS or PS), with a particular interest in checking for conformance.
Transport Stream (TS) is typically used for distribution of cable and satellite data. Program Stream (PS) is typically used to store data on DVDs.
The tools are focussed on:
- Quick reporting of useful data (tsinfo, stream_type)
- Giving a quick overview of the entities in the stream (esdots, psdots)
- Reporting on TS packets (tsreport) or ES units/frames/fields (esreport)
- Simple manipulation of stream data (es2ts, esfilter, esreverse, esmerge, ts2es)
- Streaming of data, possibly with introduced errors (tsplay)
There are three methods to install tstools 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 tstools Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install tstools using apt-get by running the following command:
sudo apt-get -y install tstoolsInstall tstools Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install tstools using apt by running the following command:
sudo apt -y install tstoolsInstall tstools 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 updateAfter updating apt database, We can install tstools using aptitude by running the following command:
sudo aptitude -y install tstoolsHow To Uninstall tstools on Kali Linux
To uninstall only the tstools package we can use the following command:
sudo apt-get remove tstoolsUninstall tstools And Its Dependencies
To uninstall tstools and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove tstoolsRemove tstools Configurations and Data
To remove tstools configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge tstoolsRemove tstools configuration, data, and all of its dependencies
We can use the following command to remove tstools configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge tstoolsDependencies
tstools have the following dependencies:
References
Summary
In this tutorial we learn how to install tstools package on Kali Linux using different package management tools: apt, apt-get and aptitude.