How To Install libjs-jquery-jush on Debian 9

In this tutorial we learn how to install libjs-jquery-jush on Debian 9. libjs-jquery-jush is jQuery Syntax Highlighter

Introduction

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

What is libjs-jquery-jush

libjs-jquery-jush is:

JavaScript Syntax Highlighter can be used for client-side syntax highlighting of following languages: HTML, CSS, JavaScript, PHP, SQL, HTTP and SMTP protocol, php.ini and Apache config.

Features:

  • Highlights languages embedded into each other
  • Links to documentation of all languages
  • Colors can be easily modified via CSS
  • Recognizes complete PHP syntax including __halt_compiler, heredoc, backticks, {$} variables inside strings, namespaces
  • Works in all major browsers including Internet Explorer, Firefox, Opera, Google Chrome

There are three methods to install libjs-jquery-jush 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-jush 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-jush using apt-get by running the following command:

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

Install libjs-jquery-jush Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjs-jquery-jush

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

sudo aptitude -y install libjs-jquery-jush

How To Uninstall libjs-jquery-jush on Debian 9

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

sudo apt-get remove libjs-jquery-jush

Uninstall libjs-jquery-jush And Its Dependencies

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

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

Remove libjs-jquery-jush Configurations and Data

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

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

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

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

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

Dependencies

libjs-jquery-jush have the following dependencies:

References

Summary

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