1

I'm trying to install Firefox on Alpine Linux. I ran

$ sudo apk add firefox

And a few hundred MBs later, it installed.

However, when I ran firefox, it crashed with symbol not found errors and something to do with libmozgtk and gtk+.

How do I fix this or is it not possible to run Firefox on a musl-based distro?

  • 1
    Welcome, sudo apk add firefox-esr – GAD3R May 23 at 21:36
  • Is there any difference? – Kied Llaentenn May 23 at 21:43
0

To install firefox on alpine linux enable the Community Repository:

add (or uncomment) a line like:

http://dl-cdn.alpinelinux.org/alpine/edge/community 

then run:

sudo apk update
sudo apk add firefox-esr

The package is called firefox on the edge branch:

Warning: "edge" is under constant development so be careful using it in production. It is possible that bugs in "edge" could cause data loss or could break your system.

  • This works! Any difference between the packages though? – Kied Llaentenn May 27 at 20:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.