How to install Headless Chrome on a Laravel Forge server for chrome-php.
This post will go over how I installed chromium binary on a Laravel Forge server.
I have a PHP Application hosted that leverages the chrome-php package. This is a Vultr Compute VM server is managed by Laravel Forge. In order to install the chrome binary I had to ssh into my vultr server and run the following commands:
sudo add-apt-repository ppa:phd/chromium-browserTo add the chromium browser to the package manager repository for your server.sudo apt updateUpdate the package manager so that the new repository will be used.sudo apt install -y chromium-browserInstall the chrome browsersudo apt --fix-broken installTo install any missing dependanciesgoogle-chromeTo verify installation.