Skip to content

Instantly share code, notes, and snippets.

@mkohlhaas
Last active May 21, 2025 19:49
Show Gist options
  • Save mkohlhaas/8c4fc7aafbc5740c0dafcbf03bb46a2e to your computer and use it in GitHub Desktop.
Save mkohlhaas/8c4fc7aafbc5740c0dafcbf03bb46a2e to your computer and use it in GitHub Desktop.
CEF-Project Installation on ArchLinux

Project Page

From the documentation:

### Setup
 ...
 1. Install Python. Version 3.9 to 3.11 is required.

We have to install Python 3.11 on ArchLinux:

$ makepkg -s
$ sudo pacman -U python311-3.11.11-1-x86_64.pkg.tar.zst

Clone project:

$ gcl https://github.com/chromiumembedded/cef-project.git

Tell CEF to use Python 3.11:

$ export PYTHON_EXECUTABLE=/usr/bin/python3.11

Build

$ cmake -B build -S . -G Ninja
$ cmake --build build/

Run executables: e.g.

$ ./build/Release/minimal 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment