Lighthouse runs on Linux, macOS, and Windows via WSL. Installation should be easy. In fact, if you already have Rust installed all you need is:
git clone https://github.com/sigp/lighthouse.git
- Install Rust and Cargo with rustup.
- Use the
stabletoolchain (it's the default).
- Use the
- Clone the Lighthouse repository.
$ git clone https://github.com/sigp/lighthouse.git
- Change into the newly created directory with
$ cd lighthouse
- Build Lighthouse with
- Installation was successful if
$ lighthouse --helpdisplays the command-line documentation.
Compiling or running Lighthouse natively on Windows is not currently supported. However, Lighthouse can run successfully under the Windows Subsystem for Linux (WSL). If using Ubuntu under WSL, you can should install the Ubuntu dependencies listed in the Dependencies (Ubuntu) section.
Several dependencies may be required to compile Lighthouse. The following packages may be required in addition a base Ubuntu Server installation:
sudo apt install -y git gcc g++ make cmake pkg-config libssl-dev
You will need
cmake. You can install via homebrew:
brew install cmake
Lighthouse will be installed to
$HOME/.cargo. This directory
needs to be on your
PATH before you can run
See "Configuring the
PATH environment variable"
(rust-lang.org) for more information.
Make sure you are running the latest version of Rust. If you have installed Rust using rustup, simply type
$ rustup update.
If you get a build failure relating to OpenSSL, try installing
libssl-dev using your OS package manager.
$ apt-get install libssl-dev.
- Amazon Linux:
$ yum install openssl-devel.