How To Install node-iscroll on Debian 12

Learn how to install node-iscroll on Debian 12 with this tutorial. node-iscroll is High performance, small footprint JavaScript scroller NodeJS module

Introduction

In this tutorial we learn how to install node-iscroll on Debian 12.

What is node-iscroll

node-iscroll is:

iScroll is a high performance, small footprint, dependency free, multi-platform javascript scroller.

It works on desktop, mobile and smart TV. It has been vigorously optimized for performance and size so to offer the smoothest result on modern and old devices alike.

iScroll does not just scroll. It can handle any element that needs to be moved with user interaction. It adds scrolling, zooming, panning, infinite scrolling, parallax scrolling, carousels to your projects and manages to do that in just 4kb. Give it a broom and it will also clean up your office.

This package contains the NodeJS module which can be used from Browserify.

There are three methods to install node-iscroll on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install node-iscroll Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install node-iscroll

Install node-iscroll Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install node-iscroll

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

sudo aptitude -y install node-iscroll

How To Uninstall node-iscroll on Debian 12

To uninstall only the node-iscroll package we can use the following command:

sudo apt-get remove node-iscroll

Uninstall node-iscroll And Its Dependencies

To uninstall node-iscroll and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove node-iscroll

Remove node-iscroll Configurations and Data

To remove node-iscroll configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge node-iscroll

Remove node-iscroll configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge node-iscroll

Dependencies

node-iscroll have the following dependencies:

References

Summary

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