55 lines
1.5 KiB
Markdown
Raw Normal View History

2020-05-02 21:14:19 +08:00
# Installation
2020-06-19 23:30:05 +08:00
Beacon chain can run on Linux, macOS, Windows, and Android. At the moment, Nimbus has to be built from source.
2020-06-19 21:14:12 +08:00
## External Dependencies
2020-05-02 21:14:19 +08:00
- Developer tools (C compiler, Make, Bash, Git)
- PCRE
2020-06-19 21:14:12 +08:00
2020-05-02 21:14:19 +08:00
Nim is not an external dependency, Nimbus will build its own local copy.
## Linux
On common Linux distributions the dependencies can be installed with:
2020-06-19 21:14:12 +08:00
2020-05-02 21:14:19 +08:00
```sh
# Debian and Ubuntu
sudo apt-get install build-essential git libpcre3-dev
# Fedora
dnf install @development-tools pcre
# Archlinux, using an AUR manager for pcre-static
yourAURmanager -S base-devel pcre-static
```
2020-06-19 21:14:12 +08:00
### macOS
2020-05-02 21:14:19 +08:00
Assuming you use [Homebrew](https://brew.sh/) to manage packages
```sh
brew install pcre
```
### Windows
You can install the developer tools by following the instruction in our [Windows dev environment section](./advanced.md#windows-dev-environment).
It also provides a downloading script for prebuilt PCRE.
### Android
2020-06-19 21:14:12 +08:00
- Install the [Termux](https://termux.com) app from FDroid or the Google Play store
- Install a [PRoot](https://wiki.termux.com/wiki/PRoot) of your choice following the instructions for your preferred distribution.
Note, the Ubuntu PRoot is known to contain all Nimbus prerequisites compiled on Arm64 architecture (common architecture for Android devices).
2020-05-02 21:14:19 +08:00
2020-06-19 21:14:12 +08:00
_Assuming Ubuntu PRoot is used_
2020-05-02 21:14:19 +08:00
```sh
apt install build-essential git libpcre3-dev
```
2020-06-29 14:04:01 +02:00
## Next steps
Once you've installed build tools, you're ready to move on to launching the beacon node and becoming a [validator](./validator.md)