How To Install libxine2-x on Ubuntu 18.04

In this tutorial we learn how to install libxine2-x on Ubuntu 18.04. libxine2-x is X desktop video output plugins for libxine2

Introduction

In this tutorial we learn how to install libxine2-x on Ubuntu 18.04.

What is libxine2-x

libxine2-x is:

This package contains plugins for the xine video/media player engine which are used for video display on the X desktop.

You most probably want to install this package if you are using a graphical front end like gxine, kaffeine or xine-ui. It contains xine output plugins necessary for drawing on X11 displays.

There are three methods to install libxine2-x 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 libxine2-x Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libxine2-x using apt-get by running the following command:

sudo apt-get -y install libxine2-x

Install libxine2-x Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libxine2-x

Install libxine2-x 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 libxine2-x using aptitude by running the following command:

sudo aptitude -y install libxine2-x

How To Uninstall libxine2-x on Ubuntu 18.04

To uninstall only the libxine2-x package we can use the following command:

sudo apt-get remove libxine2-x

Uninstall libxine2-x And Its Dependencies

To uninstall libxine2-x and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libxine2-x

Remove libxine2-x Configurations and Data

To remove libxine2-x configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libxine2-x

Remove libxine2-x configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libxine2-x

References

Summary

In this tutorial we learn how to install libxine2-x package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.