How To Install libqt5gstreamer-dev on Debian 9

In this tutorial we learn how to install libqt5gstreamer-dev on Debian 9. libqt5gstreamer-dev is Development headers for QtGStreamer - Qt 5 build

Introduction

In this tutorial we learn how to install libqt5gstreamer-dev on Debian 9.

What is libqt5gstreamer-dev

libqt5gstreamer-dev is:

QtGStreamer provides C++ bindings for GStreamer with a Qt-style API, plus some helper classes for integrating GStreamer better in Qt applications.

This package provides the necessary development files for building C++/Qt applications that use the QtGStreamer library.

This package is part of the Qt5 version of QtGStreamer.

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

Install libqt5gstreamer-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 libqt5gstreamer-dev using apt-get by running the following command:

sudo apt-get -y install libqt5gstreamer-dev

Install libqt5gstreamer-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libqt5gstreamer-dev

Install libqt5gstreamer-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libqt5gstreamer-dev

How To Uninstall libqt5gstreamer-dev on Debian 9

To uninstall only the libqt5gstreamer-dev package we can use the following command:

sudo apt-get remove libqt5gstreamer-dev

Uninstall libqt5gstreamer-dev And Its Dependencies

To uninstall libqt5gstreamer-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libqt5gstreamer-dev

Remove libqt5gstreamer-dev Configurations and Data

To remove libqt5gstreamer-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libqt5gstreamer-dev

Remove libqt5gstreamer-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libqt5gstreamer-dev

Dependencies

libqt5gstreamer-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libqt5gstreamer-dev package on Debian 9 using different package management tools: apt, apt-get and aptitude.