How To Install libjs-scriptaculous on Debian 10

Learn how to install libjs-scriptaculous on Debian 10 with this tutorial. libjs-scriptaculous is JavaScript library for dynamic web applications

Introduction

In this tutorial we learn how to install libjs-scriptaculous on Debian 10.

What is libjs-scriptaculous

libjs-scriptaculous is:

script.aculo.us is a JavaScript library providing dynamic visual effects and user interface elements via the Document Object Model.

script.aculo.us extends the Prototype Javascript Framework by adding visual effects, user interface controls, and utilities. It is most notably included with Ruby on Rails, but also provided separately to work with other web application frameworks and scripting languages.

There are three methods to install libjs-scriptaculous on Debian 10. 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-scriptaculous 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-scriptaculous using apt-get by running the following command:

sudo apt-get -y install libjs-scriptaculous

Install libjs-scriptaculous Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjs-scriptaculous

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

sudo aptitude -y install libjs-scriptaculous

How To Uninstall libjs-scriptaculous on Debian 10

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

sudo apt-get remove libjs-scriptaculous

Uninstall libjs-scriptaculous And Its Dependencies

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

sudo apt-get -y autoremove libjs-scriptaculous

Remove libjs-scriptaculous Configurations and Data

To remove libjs-scriptaculous configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libjs-scriptaculous

Remove libjs-scriptaculous configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libjs-scriptaculous

Dependencies

libjs-scriptaculous have the following dependencies:

References

Summary

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