How To Install python3-dvdvideo on Debian 9

In this tutorial we learn how to install python3-dvdvideo on Debian 9. python3-dvdvideo is Video DVD reader library

Introduction

In this tutorial we learn how to install python3-dvdvideo on Debian 9.

What is python3-dvdvideo

python3-dvdvideo is:

This library reads and parses video DVD. It includes a UDF parser and video DVD structure parses. It supports unencrypted disks and also encrypted ones using the external libdvdcss.

A tool (dvdvideo-backup-image) is provided to make decrypted copies of disks. This disks often contain various defects in the data structures to complicate reading them.

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

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

sudo apt-get update

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

sudo apt-get -y install python3-dvdvideo

Install python3-dvdvideo Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-dvdvideo

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

sudo aptitude -y install python3-dvdvideo

How To Uninstall python3-dvdvideo on Debian 9

To uninstall only the python3-dvdvideo package we can use the following command:

sudo apt-get remove python3-dvdvideo

Uninstall python3-dvdvideo And Its Dependencies

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

sudo apt-get -y autoremove python3-dvdvideo

Remove python3-dvdvideo Configurations and Data

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

sudo apt-get -y purge python3-dvdvideo

Remove python3-dvdvideo configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python3-dvdvideo

Dependencies

python3-dvdvideo have the following dependencies:

References

Summary

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