xpi-repack command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
xpi-repack: command not found
or when using sudo you get the following error message
sudo: xpi-repack: command not found
Solutions to xpi-repack: command not found
How To Fix xpi-repack: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xpi-repack is provided by mozilla-devscripts package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mozilla-devscripts
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mozilla-devscripts.
sudo apt -y install mozilla-devscripts
Or if you have aptitude installed you can use the following command.
sudo aptitude install mozilla-devscripts
Summary
In this tutorial we learn how to fix xpi-repack command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.