How To Install libproxy1-plugin-mozjs on Debian 9

In this tutorial we learn how to install libproxy1-plugin-mozjs on Debian 9. libproxy1-plugin-mozjs is automatic proxy configuration management library (mozjs plugin)

Introduction

In this tutorial we learn how to install libproxy1-plugin-mozjs on Debian 9.

What is libproxy1-plugin-mozjs

libproxy1-plugin-mozjs is:

libproxy is a lightweight library which makes it easy to develop applications proxy-aware with a simple and stable API.

This package contains the plugin to allow libproxy to interpret PAC files using mozjs

There are three methods to install libproxy1-plugin-mozjs 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 libproxy1-plugin-mozjs Using apt-get

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

sudo apt-get update

After updating apt database, We can install libproxy1-plugin-mozjs using apt-get by running the following command:

sudo apt-get -y install libproxy1-plugin-mozjs

Install libproxy1-plugin-mozjs Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libproxy1-plugin-mozjs using apt by running the following command:

sudo apt -y install libproxy1-plugin-mozjs

Install libproxy1-plugin-mozjs 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 libproxy1-plugin-mozjs using aptitude by running the following command:

sudo aptitude -y install libproxy1-plugin-mozjs

How To Uninstall libproxy1-plugin-mozjs on Debian 9

To uninstall only the libproxy1-plugin-mozjs package we can use the following command:

sudo apt-get remove libproxy1-plugin-mozjs

Uninstall libproxy1-plugin-mozjs And Its Dependencies

To uninstall libproxy1-plugin-mozjs and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libproxy1-plugin-mozjs

Remove libproxy1-plugin-mozjs Configurations and Data

To remove libproxy1-plugin-mozjs configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libproxy1-plugin-mozjs

Remove libproxy1-plugin-mozjs configuration, data, and all of its dependencies

We can use the following command to remove libproxy1-plugin-mozjs configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libproxy1-plugin-mozjs

Dependencies

libproxy1-plugin-mozjs have the following dependencies:

References

Summary

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