How To Install gstreamer1.0-gl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install gstreamer1.0-gl on Ubuntu 20.04.
What is gstreamer1.0-gl
gstreamer1.0-gl is:
GStreamer is a streaming media framework, based on graphs of filters which operate on media data. Applications using this library can do anything from real-time sound processing to playing videos, and just about anything else media-related. Its plugin-based architecture means that new data types or processing capabilities can be added simply by installing new plug-ins.
This package contains the GStreamer plugins for GL. Task: ubuntu-desktop-minimal, ubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop Gstreamer-Elements: glalpha, glcolorbalance, glcolorconvert, glcolorscale, gldeinterlace, gldifferencematte, gldownload, gleffects, gleffects_blur, gleffects_bulge, gleffects_fisheye, gleffects_glow, gleffects_heat, gleffects_identity, gleffects_laplacian, gleffects_lumaxpro, gleffects_mirror, gleffects_sepia, gleffects_sin, gleffects_sobel, gleffects_square, gleffects_squeeze, gleffects_stretch, gleffects_tunnel, gleffects_twirl, gleffects_xpro, gleffects_xray, glfilterapp, glfilterbin, glfiltercube, glfilterglass, glimagesink, glimagesinkelement, glmixerbin, glmosaic, gloverlay, gloverlaycompositor, glshader, glsinkbin, glsrcbin, glstereomix, glstereosplit, gltestsrc, gltransformation, glupload, glvideoflip, glvideomixer, glvideomixerelement, glviewconvert Gstreamer-Version: 1.16
Package: gstreamer1.0-gl Architecture: amd64 Version: 1.16.2-4 Multi-Arch: same Priority: optional Section: libs Source: gst-plugins-base1.0 Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Maintainers of GStreamer packages [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 444 Provides: gstreamer1.0-videosink, gstreamer1.0-videosource Depends: libc6 (>= 2.27), libglib2.0-0 (>= 2.40), libgraphene-1.0-0 (>= 1.5.4), libgstreamer-gl1.0-0 (>= 1.16.2), libgstreamer-plugins-base1.0-0 (>= 1.16.2), libgstreamer1.0-0 (>= 1.16.2), libjpeg8 (>= 8c), libpng16-16 (>= 1.6.2-1), libx11-6 Breaks: gstreamer1.0-plugins-bad (« 1.15.1) Replaces: gstreamer1.0-plugins-bad (« 1.15.1) Filename: pool/main/g/gst-plugins-base1.0/gstreamer1.0-gl_1.16.2-4_amd64.deb Size: 108652 MD5sum: 2abdeb093bba1419f6c1807b1fe39cff SHA1: 9361d24b0f4b5097a1a48e51a80a87084751a93d SHA256: b22bf991dd9c3fb7431e7b62a6bc9d838444bdaffa088c3e0361a104e9b88710 Homepage: https://gstreamer.freedesktop.org Description-en: GStreamer plugins for GL GStreamer is a streaming media framework, based on graphs of filters which operate on media data. Applications using this library can do anything from real-time sound processing to playing videos, and just about anything else media-related. Its plugin-based architecture means that new data types or processing capabilities can be added simply by installing new plug-ins.
This package contains the GStreamer plugins for GL. Task: ubuntu-desktop-minimal, ubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop Gstreamer-Elements: glalpha, glcolorbalance, glcolorconvert, glcolorscale, gldeinterlace, gldifferencematte, gldownload, gleffects, gleffects_blur, gleffects_bulge, gleffects_fisheye, gleffects_glow, gleffects_heat, gleffects_identity, gleffects_laplacian, gleffects_lumaxpro, gleffects_mirror, gleffects_sepia, gleffects_sin, gleffects_sobel, gleffects_square, gleffects_squeeze, gleffects_stretch, gleffects_tunnel, gleffects_twirl, gleffects_xpro, gleffects_xray, glfilterapp, glfilterbin, glfiltercube, glfilterglass, glimagesink, glimagesinkelement, glmixerbin, glmosaic, gloverlay, gloverlaycompositor, glshader, glsinkbin, glsrcbin, glstereomix, glstereosplit, gltestsrc, gltransformation, glupload, glvideoflip, glvideomixer, glvideomixerelement, glviewconvert Gstreamer-Version: 1.16
There are three methods to install gstreamer1.0-gl on Ubuntu 20.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 gstreamer1.0-gl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install gstreamer1.0-gl using apt-get by running the following command:
sudo apt-get -y install gstreamer1.0-gl
Install gstreamer1.0-gl Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install gstreamer1.0-gl using apt by running the following command:
sudo apt -y install gstreamer1.0-gl
Install gstreamer1.0-gl 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 gstreamer1.0-gl using aptitude by running the following command:
sudo aptitude -y install gstreamer1.0-gl
How To Uninstall gstreamer1.0-gl on Ubuntu 20.04
To uninstall only the gstreamer1.0-gl package we can use the following command:
sudo apt-get remove gstreamer1.0-gl
Uninstall gstreamer1.0-gl And Its Dependencies
To uninstall gstreamer1.0-gl and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove gstreamer1.0-gl
Remove gstreamer1.0-gl Configurations and Data
To remove gstreamer1.0-gl configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge gstreamer1.0-gl
Remove gstreamer1.0-gl configuration, data, and all of its dependencies
We can use the following command to remove gstreamer1.0-gl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gstreamer1.0-gl
References
Summary
In this tutorial we learn how to install gstreamer1.0-gl package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.