-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Linux Development Environment
Before you begin, ensure your system satisfies the system requirements.
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.
Developers who work at Brave can find more information on remote build execution here
Please refer to this document for information about configuring your .env
for building Brave.
Please check upstream Checking out and building Chromium on Linux build instructions before filing an issue.