diff --git a/README.md b/README.md
index 871627d3e5ad0c2c73355851183bb720a5c72928..3f5cd6012ec47ffaa2d7e65c26b85c425962889f 100644
--- a/README.md
+++ b/README.md
@@ -54,6 +54,17 @@ If you want to hack on this project, here is how you do it.
 
 Install Node.js 12 first (or if you use [nvm](https://github.com/nvm-sh/nvm), switch to Node.js 12 by running `nvm use`).
 
+<details><summary>Extra dependencies for GNU/Linux</summary>
+
+X11, PNG and zlib development packages are necessary. On Debian-like systems then can be installed as follows:
+
+```bash
+sudo apt install libx11-dev zlib1g-dev libpng-dev libxtst-dev
+```
+</details>
+
+Install all required packages:
+
 ```bash
 npm install
 ```