- Using published packages. For production use, we recommend installing Stellar Core using published packages.
- Building from source. In some uncommon situations, or if you want to sacrifice convenience for maximum control, building from source may be necessary.
- Use a Docker image. Using a Docker image is the quickest and easiest method, so it’s a good choice for a lot of developers.
Release Version
Whichever method you use, you should make sure to install the latest release since these builds are backwards compatible and are cumulative. The version number scheme that we follow isprotocol_version.release_number.patch_number, where:
protocol_versionis the maximum protocol version supported by that release (all versions are 100% backward compatible),release_numberis bumped when a set of new features or bug fixes not impacting the protocol are included in the release, andpatch_numberis used when a critical fix has to be deployed.
Package-Based Installation
If you are using a recent LTS version of Ubuntu, we providestellar-core and stellar-rpc in Debian binary package format. The packages are cryptographically signed by the Stellar Development Foundation and files can be validated on the system to confirm they were not tampered with. Debian packages utilize operating system built-in cryptographic verification during upgrades which mitigates many supply chain attacks.
SDF package signing key fingerprint is AEAF 01EE A6CA FCEF DDAE 8AA7 0463 8272 A136 B5A6 (A136B5A6)
Currently we do not publish packages for RPM based Linux distributions. If you use such distribution we recommend using docker images
Configure SDF Apt Repository On The System
Install packages
We publish multiple packages for convenience.
To install a chosen package run:
Installing From Source
The Stellar Core source code repository contains extensive and thorough instructions to build the software from source. Please check outINSTALL.md for more information.
Docker-Based Installation
Development Environments
SDF maintains a quickstart image that runs a Stellar Core validator, a “Captive Core” bundled with Stellar RPC, and all other necessary components to support local development. It’s a quick way to set up a default, non-validating, ephemeral configuration that should work for most developers. Additionally, the quickstart image can be spun up pre-configured for use as a Mainnet, Testnet, Futurenet, or Local network node.The quickstart image is not intended to serve as a production-level instance node. Please plan your production instance(s) carefully.
Production Environments
SDF also maintains a Stellar-Core-only standalone image,stellar/stellar-core.
Example usage:
stellar-core binary in the docker image matches what is in the cryptographically signed deb package. See package based installation section for information. To calculate this checksum in the docker image you can run: