There was an error while loading. Please reload this page.
Here are instructions on how to build the brave-browser Linux packages during development.
If building in a virtual machine, make sure you don't build as root or the pnpm run init might fail.
root
pnpm run init
Once you've installed the pre-requisites and cloned the repo into src/brave in your work directory, the build command to use is:
src/brave
pnpm run create_dist Release
In particular, make sure you don't specify --official_build=false or your build might fail (see #305).
--official_build=false
Once the build is done, you'll find the .deb and .rpm directly in src/out/Release/.
.deb
.rpm
src/out/Release/
To build beta or dev packages, use the --channel argument:
--channel
pnpm run create_dist Release --channel=beta