'How to install GTK3 and Firefox on Amazon Linux (EC2) instance?
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,
Solution 1:[1]
Considering its an amazon-linux-2 (you can check with--> cat /etc/os-release)
Install Dependencies for Firefox->
- sudo yum install -y gtk3
- sudo yum install -y libdbusmenu
- sudo yum install -y libdbusmenu-jsonloader
Installing FireFox:
- cd /opt 
- sudo tar xfj firefox-93.0.tar.bz2 
- firefox --version 
- sudo ln -s /opt/firefox/firefox /usr/bin/firefox 
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source | 
|---|---|
| Solution 1 | Zordiye | 

 amazon-ec2
amazon-ec2