This was tested on Ubuntu 16.04.

Install aptitude managed dependencies:

Install Watchman:

Clone/build/install Buck:

Note: As of Buck v2018.02.16.01, python 2.7 is required. If you try a build will python v3.x, you will get the following error when running the ant command:

If the above command completes successfully, you will have the buck executable located at ./bin/buck. This build system does not install it into system folders on your machine, so you will probably want to add ./bin/buck to your path so you can just type buck at the command line.

Basic Example

The most basic Buck-based project example requires two Buck specific files: .buckconfig and a BUCK file.

Example Project

An example C++ project built using Buck can be found on GitHub at https://github.com/njlr/buck-cpp-example.

Posted: March 9th, 2018 at 12:19 pm
Last Updated on: March 15th, 2018 at 8:40 am