How To Install gpac on Debian 9

In this tutorial we learn how to install gpac on Debian 9. gpac is GPAC Project on Advanced Content - utilities

Introduction

In this tutorial we learn how to install gpac on Debian 9.

What is gpac

gpac is:

GPAC stands for GPAC Project on Advanced Content (a recursive acronym). It is an Open Source multimedia framework for research and academic purposes. The project covers different aspects of multimedia, with a focus on presentation technologies (graphics, animation and interactivity).

This package contains the following utilities:

  • MP4Client (content packaging)
  • MP4Box

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

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

sudo apt-get update

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

sudo apt-get -y install gpac

Install gpac Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gpac using apt by running the following command:

sudo apt -y install gpac

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

sudo aptitude -y install gpac

How To Uninstall gpac on Debian 9

To uninstall only the gpac package we can use the following command:

sudo apt-get remove gpac

Uninstall gpac And Its Dependencies

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

sudo apt-get -y autoremove gpac

Remove gpac Configurations and Data

To remove gpac configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge gpac

Remove gpac configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gpac

Dependencies

gpac have the following dependencies:

References

Summary

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