Skip to content

Linux Development Environment

Mihai PLESA edited this page Aug 4, 2025 · 47 revisions

System Requirements

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

Install additional build dependencies

You will need Git v2.41+, Python 3, and Node.js v20+. You may need to make python3 the default if Python 2.7 is the 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, also 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 the above command displays an error about using a non-supported Linux distribution.

Build Acceleration

Developers who work at Brave can find more information on remote build execution here

Build Configuration

Please refer to this document for information about configuring your .env for building Brave.

Troubleshooting

Please check upstream Checking out and building Chromium on Linux build instructions before filing an issue.

Clone this wiki locally