-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Linux packages
Here are instructions on how to build the brave-browser Linux packages during development.
The official packages are currently built on Ubuntu 14.04, but they have also been built successfully on 16.04 and 18.04.
If using 14.04, you'll need to add a third-party repo and install the openjdk-8-jre
package.
If building in a virtual machine, make sure you don't build as root
or the npm run init
might fail.
Once you've installed the pre-requisites and cloned the repo, the build command to use is:
npm run create_dist Release -- --debug_build=true
In particular, make sure you don't specify --official_build=false
or your build might fail.
The --debug_build=true
argument is optional but should speed up the build.
Once the build is done, you'll find the .deb
and .rpm
directly in src/out/Release/
.
To build beta or dev packages, use the --channel
argument:
npm run create_dist Release -- --channel=beta