Skip to content

Linux Development Environment

Mihai PLESA edited this page Jan 8, 2025 · 45 revisions

System Requirements

Before you begin, ensure your system satisfies the system requirements.

Install additional build dependencies

You will need Git, Python 3 and Node.js v20. You may need to make python3 the default if Python 2.7 is default for your OS. Also, if you don't have anything named python on your machine and only have python3, you will need something like python-is-python3.

If you are using Ubuntu, additionally install:

apt-get install build-essential python-setuptools python3-distutils

You are now ready to clone and initialize this repo. After npm run init is finished, there is one final step to finish installing build dependencies. This shell script only works on Debian and Ubuntu but check system requirements for other distros:

./src/build/install-build-deps.sh # for Linux

You might also want to try ./src/build/install-build-deps.sh --unsupported if above command gives an error about using a non supported Linux distribution.

Build Acceleration

Internal developers can find more information on remote build execution here

Build Configuration

Please refer to this document for information about setting up .env build configuration.

Troubleshooting

Check out the upstream Checking out and building Chromium on Linux docs before filing an issue.

Clone this wiki locally