How to install chrome (headless) in linux

Lee Le picture Lee Le · Jul 5, 2017 · Viewed 16.9k times · Source

I have an AWS EC2 running linux redhad. Is there a way to install the latest Chrome v59 on it so that I can run it in headless mode just like PhantomJS? All the resources I can find in google are about how to install it in ubuntu which has a UI. My Linux doesn't have a UI.

Thanks

Answer

browserless picture browserless · Nov 11, 2017

You might want to take a look at projects like chromeless or puppeteer which both offer a feature-rich API as well as documentation on running on most hosting providers.

Alternatively, if you're looking for something custom-built for this then I run a SaaS called browserless that attacks the problem directly.

In any case, hope that helps