From 7f517ba878cb8d0455f39f1baffc924979651d6d Mon Sep 17 00:00:00 2001 From: Balakrishna Avulapati Date: Wed, 26 Jan 2022 20:59:16 +0530 Subject: [PATCH] docs: separate the dependency list for ubuntu (#32607) --- docs/development/build-instructions-linux.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/development/build-instructions-linux.md b/docs/development/build-instructions-linux.md index d3aeb85a8ff3..6d70af4f47d2 100644 --- a/docs/development/build-instructions-linux.md +++ b/docs/development/build-instructions-linux.md @@ -29,7 +29,17 @@ Follow the guidelines below for building **Electron itself** on Linux, for the p * [clang](https://clang.llvm.org/get_started.html) 3.4 or later. * Development headers of GTK 3 and libnotify. -On Ubuntu, install the following libraries: +On Ubuntu >= 20.04, install the following libraries: + +```sh +$ sudo apt-get install build-essential clang libdbus-1-dev libgtk-3-dev \ + libnotify-dev libasound2-dev libcap-dev \ + libcups2-dev libxtst-dev \ + libxss1 libnss3-dev gcc-multilib g++-multilib curl \ + gperf bison python3-dbusmock openjdk-8-jre +``` + +On Ubuntu < 20.04, install the following libraries: ```sh $ sudo apt-get install build-essential clang libdbus-1-dev libgtk-3-dev \