Introduction
In this tutorial we learn how to install libzvbi-dev
on Ubuntu 18.04.
What is libzvbi-dev
libzvbi-dev is:
The vertical blanking interval (VBI) is an interval in a television signal
that temporarily suspends transmission of the signal for the electron gun
to move back up to the first line of the television screen to trace the
next screen field.
The vertical blanking interval can be used to carry data, since anything
sent during the VBI would naturally not be displayed; various test signals,
closed captioning, and other digital data can be sent during this time
period. These include information like closed-caption data, Teletext
(primarily in Europe), and now Intercast and the ATVEC Internet television
encodings.
The Zapping VBI library, in short ZVBI, provides functions to capture and
decode VBI data. It is written in plain ANSI C with few dependencies on
other tools and libraries, licensed under GPL. Some features:
- Captures raw VBI samples from V4L, V4L2 and FreeBSD BKTR devices, sliced
VBI data from Linux DVB devices; - Implements a VBI Proxy to share one VBI device between multiple
applications; - Has a robust and versatile bit slicer which handles a wide range of data
services; - Functions to capture multiple data services at once, such as Closed
Caption (both NTSC and PAL), Teletext, VPS, WSS, XDS; - Level 3.5 Teletext decoder with support for all Teletext character sets,
graphics, 4096 colors, with built-in page cache including search
functions; - Closed Caption decoder which supports roll-up, pop-up and paint-on style
caption, color, expanded character set, text attributes and free text
placement; - Renders Teletext and Caption pages, can export to HTML, PNG and other
formats. - Can determine network names;
- Can find Teletext subtitle and program pages;
- Functions to extract data transmissions in Teletext streams (currently
Page Format Clear and Independent Data Line Format A); - Can multiplex and demultiplex DVB VBI PES and TS streams.
This package contains development files.
There are three methods to install libzvbi-dev
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 libzvbi-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libzvbi-dev
using apt-get
by running the following command:
sudo apt-get -y install libzvbi-dev
Install libzvbi-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libzvbi-dev
using apt
by running the following command:
sudo apt -y install libzvbi-dev
Install libzvbi-dev 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 libzvbi-dev
using aptitude
by running the following command:
sudo aptitude -y install libzvbi-dev
How To Uninstall libzvbi-dev on Ubuntu 18.04
To uninstall only the libzvbi-dev
package we can use the following command:
sudo apt-get remove libzvbi-dev
Uninstall libzvbi-dev And Its Dependencies
To uninstall libzvbi-dev
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libzvbi-dev
Remove libzvbi-dev Configurations and Data
To remove libzvbi-dev
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libzvbi-dev
Remove libzvbi-dev configuration, data, and all of its dependencies
We can use the following command to remove libzvbi-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libzvbi-dev
References
Summary
In this tutorial we learn how to install libzvbi-dev
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.