Installing Galactica - Galactica-corp/galactica GitHub Wiki

Installation

This guide will explain how to install the galacticad binary and run the cli. With this binary installed on a server, you can participate on the testnet as either a Full Node or a Validator.

Build Requirements

For building galacticad binary:

  1. Update & install basic build tools
  2. Install Go
  3. Build & install binaries

Basic Build Tools

Install make and gcc.

Also, you need to make sure curl, tar, git, jq are installed on the system so that they are added to the package manager installation command

Ubuntu/Debian:
sudo apt-get update
sudo apt-get install -y make gcc git build-essential curl tar jq
RHEL/Centos/Rocky:
sudo yum update
sudo yum groupinstall 'Development Tools'
sudo yum install -y curl jq

Install Go

Go 1.21+ is required.

We suggest the following two ways to install Go. Check out the official docs and Go installer for the correct download for your operating system.

Alternatively. Detailed below are home directory installation locations, but feel free to customize.

sudo rm -rf /usr/local/go
curl -sL https://go.dev/dl/go1.21.8.linux-amd64.tar.gz | sudo tar -x -z -C ~/
# add path to golang binary by default
echo export PATH=\$PATH:\$HOME/go/bin >> ~/.bashrc
source  ~/.bashrc

Install the binaries

Next, let's install the latest version of galacticad.

git clone https://github.com/Galactica-corp/galactica.git galactica
cd galactica
make install

That will install the galacticad binary. Verify that everything installed successfully by running:

galacticad version --long

You should see something similar to the following:

build_deps:
- ...
build_tags: ""
commit: ""
cosmos_sdk_version: v0.47.3
go: go version go1.21.8 linux/amd64
name: ""
server_name: <appd>

Next

Now you can use galacticad binary and join the testnet.

⚠️ **GitHub.com Fallback** ⚠️