How To Install pkg-js-autopkgtest on Kali Linux

In this tutorial we learn how to install pkg-js-autopkgtest on Kali Linux. pkg-js-autopkgtest is collection of autopkgtest scripts for Nodejs packages

Introduction

In this tutorial we learn how to install pkg-js-autopkgtest on Kali Linux.

What is pkg-js-autopkgtest

pkg-js-autopkgtest is:

This package contains test runners to be used with the autopkgtest infrastructure for Nodejs packages.

Packages using the tests with autopkgtests in this package can simply set “Testsuite: autopkgtest-pkg-nodejs” in debian/control.

Cf. /usr/share/doc/pkg-js-autopkgtest/README.md for information on the tests and how to tweak them.

There are three methods to install pkg-js-autopkgtest on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install pkg-js-autopkgtest Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install pkg-js-autopkgtest

Install pkg-js-autopkgtest Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install pkg-js-autopkgtest using apt by running the following command:

sudo apt -y install pkg-js-autopkgtest

Install pkg-js-autopkgtest Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install pkg-js-autopkgtest using aptitude by running the following command:

sudo aptitude -y install pkg-js-autopkgtest

How To Uninstall pkg-js-autopkgtest on Kali Linux

To uninstall only the pkg-js-autopkgtest package we can use the following command:

sudo apt-get remove pkg-js-autopkgtest

Uninstall pkg-js-autopkgtest And Its Dependencies

To uninstall pkg-js-autopkgtest and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove pkg-js-autopkgtest

Remove pkg-js-autopkgtest Configurations and Data

To remove pkg-js-autopkgtest configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge pkg-js-autopkgtest

Remove pkg-js-autopkgtest configuration, data, and all of its dependencies

We can use the following command to remove pkg-js-autopkgtest configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge pkg-js-autopkgtest

Dependencies

pkg-js-autopkgtest have the following dependencies:

References

Summary

In this tutorial we learn how to install pkg-js-autopkgtest package on Kali Linux using different package management tools: apt, apt-get and aptitude.