Skip to content

Install from source code

Prerequisites

  • golang 1.17+
  • git 2.0+
  • glibc-static 2.17+

Download source code

$ git clone https://github.com/bfenetworks/bfe

Build

  • Execute the following command to build bfe:
$ cd bfe
$ make

Tip

If you encounter an error such as "https fetch: Get ... connect: connection timed out", please set the GOPROXY and try again. See Installation FAQ

  • Execute the following command to run tests:
$ make test
  • Executable object file location:
$ file output/bin/bfe
output/bin/bfe: ELF 64-bit LSB executable, ...

Run

  • Run BFE with example configuration files:
$ cd output/bin/
$ ./bfe -c ../conf -l ../log

Further reading