Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to extract only installable part after building Firefox from source?

  • No replies
  • 0 have this problem
  • 11 views
more options

After downloading about 10 GiB of source code and then building another 15 GiB, to install Firefox you need to use `./mach install` or more correctly: alias install='sudo sh -c "export MOZBUILD_STATE_PATH=$HOME/.mozbuild; ./mach install"'

But to re-install Nightly Firefox on the freshly installed (even the same) OS I will have to either save 25 GiB of source+build (+.mozbuild and other stuff) or to redo everything from scratch (needs at least 1h 20m). I'm having a hard time understanding all the abstractions and redirections from `./mach install` (and Makefile from ./obj-*/ which is automatically generated) to reconstruct a minimal set of things to install Firefox.

I need a bundle of files+dirs which is enough to install everything system-wide for Firefox to work properly. Maybe even simply run `./mach install` in this "minimal build installation" (if possible).

P.S. I'm using Debian based distro(s).

After downloading about 10 GiB of source code and then building another 15 GiB, to install Firefox you need to use `./mach install` or more correctly: alias install='sudo sh -c "export MOZBUILD_STATE_PATH=$HOME/.mozbuild; ./mach install"' But to re-install Nightly Firefox on the freshly installed (even the same) OS I will have to either save 25 GiB of source+build (+.mozbuild and other stuff) or to redo everything from scratch (needs at least 1h 20m). I'm having a hard time understanding all the abstractions and redirections from `./mach install` (and Makefile from ./obj-*/ which is automatically generated) to reconstruct a minimal set of things to install Firefox. I need a bundle of files+dirs which is enough to install everything system-wide for Firefox to work properly. Maybe even simply run `./mach install` in this "minimal build installation" (if possible). P.S. I'm using Debian based distro(s).