Skip to content

Linux packages

Mihai PLESA edited this page Jul 7, 2022 · 6 revisions

Here are instructions on how to build the brave-browser Linux packages during development.

Normal user

If building in a virtual machine, make sure you don't build as root or the npm run init might fail.

Build command

Once you've installed the pre-requisites and cloned the repo, the build command to use is:

npm run create_dist -- Release

In particular, make sure you don't specify --official_build=false or your build might fail (see #305).

Once the build is done, you'll find the .deb and .rpm directly in src/out/Release/.

Beta / dev packages

To build beta or dev packages, use the --channel argument:

npm run create_dist -- Release --channel=beta
Clone this wiki locally