To our fellow Amazon Linux AMI users, we are happy to announce that we have pushed packages needed to run Firefox browser on Amazon Linux into EPLL Repository.
Amazon Linux is a minimal, server-style, rolling Linux distribution. This approach of building a Linux distribution has many development, operational and security benefits. As mentioned in one of our FAQs, in Lambda Linux Project, we appreciate the underlying design philosophy of Amazon Linux.
Even though Amazon Linux is a server-style operating system, there are some use-cases where we might want to run desktop-style applications. One such use-case is support for Firefox browser.
Some common Firefox related requirements that our fellow Amazon Linux AMI users have shared with us are,
Running headless Selenium tests as part of continuous delivery (CD) and continuous integration (CI) pipeline
Running an internal web application that is behind a VPC through a bastian host
Automation using browser
First step is to install
epll-release package. Please see these instructions on our homepage if you haven’t already installed
epll-release package is installed, we can do
sudo yum --enablerepo=epll install firefox-compat to install
firefox-compat installs all the packages needed to run Firefox browser on Amazon Linux.
We now have all the dependencies necessary to run Firefox browser.
In order to verify that everything is working as expected, let us download and run the latest version of Firefox and use X11 forwarding over SSH.
To activate X11 forwarding, we need to logout and SSH back into our Amazon Linux EC2 instance using
ssh -X option. This will automatically create a
.Xauthority file and also set our
DISPLAY environment variable.
Let us now download the latest version of Firefox, extract and run it.
Following is a screenshot of Firefox browser running on Amazon Linux.
We hope you will enjoy Firefox support on Amazon Linux. If you need further help, you can contact us on any of our support channels.
We love your feedback. We are @lambda_linux on Twitter. Please follow us and send us a tweet.
Thank you for using Lambda Linux packages and being part of our open-source community.