How To Install tstools on Ubuntu 18.04
Introduction
In this tutorial we learn how to install tstools
on Ubuntu 18.04.
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 Ubuntu 18.04. 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 update
After updating apt database, We can install tstools
using apt-get
by running the following command:
sudo apt-get -y install tstools
Install tstools Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install tstools
using apt
by running the following command:
sudo apt -y install tstools
Install tstools Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install tstools
using aptitude
by running the following command:
sudo aptitude -y install tstools
How To Uninstall tstools on Ubuntu 18.04
To uninstall only the tstools
package we can use the following command:
sudo apt-get remove tstools
Uninstall tstools And Its Dependencies
To uninstall tstools
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove tstools
Remove tstools Configurations and Data
To remove tstools
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge tstools
Remove 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 tstools
References
Summary
In this tutorial we learn how to install tstools
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.