How To Install libjs-jquery-jplayer on Debian 9

In this tutorial we learn how to install libjs-jquery-jplayer on Debian 9. libjs-jquery-jplayer is HTML5 Audio & Video for jQuery with a Flash fallback

Introduction

In this tutorial we learn how to install libjs-jquery-jplayer on Debian 9.

What is libjs-jquery-jplayer

libjs-jquery-jplayer is:

jPlayer is the completely free and open source (GPL/MIT) media library written in JavaScript. A jQuery plugin, jPlayer allows you to rapidly weave cross platform audio and video into your web pages.

jPlayer supports all the major browsers (Firefox, Chrome, Opera, Safari, Internet Explorer, Android Browser), platforms (Windows, Linux, Mac, Android, iOS, BlackBerry) and audio and video codecs (mp3, flv, mp4 (AAC/H.264), ogg (Vorbis/Theora), webm (Vorbis/VP8), wav).

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

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

sudo apt-get update

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

sudo apt-get -y install libjs-jquery-jplayer

Install libjs-jquery-jplayer Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libjs-jquery-jplayer using apt by running the following command:

sudo apt -y install libjs-jquery-jplayer

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

sudo aptitude -y install libjs-jquery-jplayer

How To Uninstall libjs-jquery-jplayer on Debian 9

To uninstall only the libjs-jquery-jplayer package we can use the following command:

sudo apt-get remove libjs-jquery-jplayer

Uninstall libjs-jquery-jplayer And Its Dependencies

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

sudo apt-get -y autoremove libjs-jquery-jplayer

Remove libjs-jquery-jplayer Configurations and Data

To remove libjs-jquery-jplayer configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libjs-jquery-jplayer

Remove libjs-jquery-jplayer configuration, data, and all of its dependencies

We can use the following command to remove libjs-jquery-jplayer configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libjs-jquery-jplayer

Dependencies

libjs-jquery-jplayer have the following dependencies:

References

Summary

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