How To Install mozilla-devscripts on Debian 10

Learn how to install mozilla-devscripts on Debian 10 with this tutorial. mozilla-devscripts is Development scripts used by Mozillas addons packages

Introduction

In this tutorial we learn how to install mozilla-devscripts on Debian 10.

What is mozilla-devscripts

mozilla-devscripts is:

This package contains mozilla-devscripts, a collection of scripts based on Makefile inheritance meant for packaging Firefox’s and Icedove’s extensions. These tools will help maintainers to build link and install all XUL extensions properly following the policies outlined by the Debian Mozilla Extension Maintainers team.

There are three methods to install mozilla-devscripts 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 mozilla-devscripts Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install mozilla-devscripts

Install mozilla-devscripts Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mozilla-devscripts

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

sudo aptitude -y install mozilla-devscripts

How To Uninstall mozilla-devscripts on Debian 10

To uninstall only the mozilla-devscripts package we can use the following command:

sudo apt-get remove mozilla-devscripts

Uninstall mozilla-devscripts And Its Dependencies

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

sudo apt-get -y autoremove mozilla-devscripts

Remove mozilla-devscripts Configurations and Data

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

sudo apt-get -y purge mozilla-devscripts

Remove mozilla-devscripts configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mozilla-devscripts

Dependencies

mozilla-devscripts have the following dependencies:

References

Summary

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