4

I'm trying to install the firefox on amazon linux (ec2) instance.. but this seems very difficult as gtk3 cannot be installed directly via yum.

I've seen some articles here. but not very helpful.

Thanks,

Ranjith's
  • 4,508
  • 5
  • 24
  • 40
  • Hey @Ranjith's, any luck with this? I'm having the same issue... – Saulo M Feb 21 '20 at 17:00
  • Not much luck on this.. using chrome instead firefox. – Ranjith's Feb 24 '20 at 09:58
  • Yeah, me neither. Just for future reference, in case someone is interested, the only way I made it work was by using the ubuntu image instead of linux ami and installing firefox via apt-get. – Saulo M Feb 26 '20 at 16:38

1 Answers1

0

Considering its an amazon-linux-2 (you can check with--> cat /etc/os-release)

Install Dependencies for Firefox->

  1. sudo yum install -y gtk3
  2. sudo yum install -y libdbusmenu
  3. sudo yum install -y libdbusmenu-jsonloader

Installing FireFox:

  1. cd /opt

  2. sudo wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/93.0/linux-x86_64/en-US/firefox-93.0.tar.bz2

  3. sudo tar xfj firefox-93.0.tar.bz2

  4. firefox --version

  5. sudo ln -s /opt/firefox/firefox /usr/bin/firefox

Zordiye
  • 1
  • 1