Skip to content

tmiland/firefox-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firefox Installer

Install any version of firefox from Mozilla.org on Debian based distros

firefox versions installed image

Also check out thunderbird-installer

Currently supported distros:

  • Debian
  • Ubuntu
  • LinuxMint
  • PureOS
  • Pop
  • Devuan

Installation

curl -sSL https://tmiland.github.io/firefox-installer/firefox_installer.sh \
     -o firefox_installer.sh && \
     chmod +x firefox_installer.sh && \
     ./firefox_installer.sh -h

Prerequisites

  • curl (will be installed)
  • packages that will be installed if using mozilla builds:
menu libasound2 libatk1.0-0 libc6 libcairo-gobject2 libcairo2 libdbus-1-3 libfontconfig1 libfreetype6 libgcc1 libgdk-pixbuf2.0-0 libgdk-pixbuf-2.0-0 libglib2.0-0 libgtk-3-0 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb-shm0 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1
  • git (if installing mozilla-sync)

Features

  • Download any version of firefox, from Mozilla or package manager (apt)
  • Install Mozilla APT repo
  • Install self hosted Firefox Sync (Docker)
  • Take backups of your firefox profile

Usage

Usage: firefox_installer.sh [options]

  --help                 |-h   display this help and exit
  --firefox              |-f   latest
  --esr                  |-e   esr
  --beta                 |-b   beta
  --nightly              |-n   nightly
  --devedition           |-d   devedition
  --release              |-rl  select custom release to install*
  --repo                 |-r   install Mozilla APT repo (apt)
  --firefox-sync         |-fs  install firefox-sync (docker)
  --language             |-l   install language pack (apt)
  --apt                  |-a   select apt install mode
  --mozilla-builds       |-m   select mozilla builds install mode
  --backup-profile       |-bp  backup firefox profile
  --uninstall            |-u   uninstall firefox

  install from apt:            [-f|-e|-b|-n|-d] -a
  install from mozilla builds: [-f|-e|-b|-n|-d] -m
  uninstall:                   [-f|-e|-b|-n|-d], [-a|-m] -u
  * custom release for mozilla builds only [-rl <release>]

Install all versions from mozilla builds

for i in f e b n d; do
  ./firefox_installer.sh -$i -m
done

Credits

Donations

Coindrop.to me

Disclaimer

*** Use at own risk ***

License

MIT License Image

MIT License