简体   繁体   中英

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,

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM