How To Install libbluray-bin on Ubuntu 20.04

In this tutorial we learn how to install libbluray-bin on Ubuntu 20.04. libbluray-bin is Blu-ray disc playback support library (tools)

Introduction

In this tutorial we learn how to install libbluray-bin on Ubuntu 20.04.

What is libbluray-bin

libbluray-bin is:

libbluray is an open-source library designed for Blu-Ray Discs playback for media players, like VLC or MPlayer. This research project is developed by an international team of developers from Doom9. libbluray integrates navigation, playlist parsing, menus, and BD-J.

NB: Most commercial Blu-Ray are restricted by AACS or BD+ technologies and this library is not enough to playback those discs.

This package provides a simple tool to retrieve information about a Blu-ray.

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

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

sudo apt-get update

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

sudo apt-get -y install libbluray-bin

Install libbluray-bin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libbluray-bin

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

sudo aptitude -y install libbluray-bin

How To Uninstall libbluray-bin on Ubuntu 20.04

To uninstall only the libbluray-bin package we can use the following command:

sudo apt-get remove libbluray-bin

Uninstall libbluray-bin And Its Dependencies

To uninstall libbluray-bin and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libbluray-bin

Remove libbluray-bin Configurations and Data

To remove libbluray-bin configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libbluray-bin

Remove libbluray-bin configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libbluray-bin

References

Summary

In this tutorial we learn how to install libbluray-bin package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.