docs: clarify linux dependencies (#10026)

This commit is contained in:
Alex Rudenko 2023-04-14 14:16:18 +02:00 committed by GitHub
parent e3f8ff23c3
commit 2c35ca30a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,11 +71,13 @@ const browser = await puppeteer.launch({
> Context:
> [issue 3681](https://github.com/puppeteer/puppeteer/issues/3681#issuecomment-447865342).
## Chrome headless doesn't launch on UNIX
## Chrome doesn't launch on Linux
Make sure all the necessary dependencies are installed. You can run
`ldd chrome | grep not` on a Linux machine to check which dependencies are
missing. The common ones are provided below.
Make sure all the necessary dependencies are installed. You can run `ldd chrome
| grep not` on a Linux machine to check which dependencies are missing. The
common ones are provided below. Also, see
https://source.chromium.org/chromium/chromium/src/+/main:chrome/installer/linux/debian/dist_package_versions.json
for the up-to-date list of dependencies declared by the Chrome installer.
<details>
<summary>Debian (e.g. Ubuntu) Dependencies</summary>