Skip to content

Build on Linux

syracine69 edited this page Mar 13, 2022 · 18 revisions

This page provides step by step instructions on how to build PHP Desktop Chrome for Linux from sources.

Table of Contents

Requirements

These instructions are for building the "linux99" branch (Chrome v99, CEF branch 4844).

Tested on Ubuntu 20.04 64-bit. Should work with newer versions as well.

Requirements:

  • CMake 3.23.0
  • G++ 7.5.0
  • Ninja 1.10.2

Newer versions of tools should work, but if there are issues try downgrading.

Download PHP Desktop sources

Clone git repository and checkout the "linux99" branch.

Download CEF sources / prebuilt binaries

If you would like to use CEF prebuilt binaries then go to Spotify Automated CEF Builds. You have to download CEF for the same branch and revision that phpdesktop uses, see the CEF.Readme.txt file that includes version details. On Spotify page choose "Standard Distribution" binaries.

If you would like to build CEF from sources then see CEF Branches and building (external) wiki page.

Clone this wiki locally