Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 1.04 KB

Linux-packages.md

File metadata and controls

21 lines (11 loc) · 1.04 KB

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