Installation
This guide will show how to build, install and update Curio binaries
Debian package installation
Curio packages are available to be installed directly on Ubuntu / Debian systems.
Debain packages are only available for mainnet right now. For any other network like calibration network or devnet, binaries must be built from source.
Install prerequisites
Enable Curio package repo
Install Curio binaries based on your GPU.
For NVIDIA GPUs:
For OpenCL GPUs:
Linux Build from source
You can build the Curio executables from source by following these steps.
Software dependencies
You will need the following software installed to install and run Curio.
System-specific
Building Curio requires some system dependencies, usually provided by your distribution.
Arch:
Ubuntu/Debian:
Fedora:
OpenSUSE:
Amazon Linux 2:
Rustup
Go
Example of an OLD version's CLI download:
System Configuration
Before you proceed with the installation, you should increase the UDP buffer. You can do this by running the following commands:
To persist the UDP buffer size across the reboot, update the /etc/sysctl.conf
file.
Build and install Curio
Once all the dependencies are installed, you can build and install Curio.
Clone the repository:
Switch to the latest stable release branch:
Enable the use of SHA extensions by adding these two environment variables:
If you are using a Nvidia GPU, please set the below environment variables.
Curio is compiled to operate on a single network. Choose the network you want to join, then run the corresponding command to build the Curio node:
Install Curio. This will put
curio
in/usr/local/bin
.curio
will use the$HOME/.curio
folder by default.Run
curio --version
MacOS Build from source
You can build the Curio executables from source by following these steps.
Software dependencies
You must have XCode and Homebrew installed to build Curio from source.
XCode Command Line Tools
Curio requires that X-Code CLI tools be installed before building the Curio binaries.
Check if you already have the XCode Command Line Tools installed via the CLI, run:
This should output something like:
Next up is installing Curio’s dependencies using Homebrew.
Homebrew
Use the command brew install
to install the following packages:
Next up is cloning the Lotus repository and building the executables.
Rust
Rustup is an installer for the systems programming language Rust. Run the installer and follow the onscreen prompts. The default installation option should be chosen unless you are familiar with customisation:
Build and install Curio
The installation instructions are different depending on which CPU is in your Mac:
Arm based CPUs
Clone the repository:
Switch to the latest stable release branch:
Create the necessary environment variables to allow Curio to run on Arm architecture:
Build the
curio
binary:Run the final
make
command to move thiscurio
executable to/usr/local/bin
. This allows you to runcurio
from any directory.Run
curio --version
Intel CPUs
Clone the repository:
Switch to the latest stable release branch:
Build and install Curio:
Run
curio --version
Last updated