Installing Galactica - Galactica-corp/galactica GitHub Wiki
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.
For building galacticad
binary:
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
sudo apt-get update
sudo apt-get install -y make gcc git build-essential curl tar jq
sudo yum update
sudo yum groupinstall 'Development Tools'
sudo yum install -y curl jq
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
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>
Now you can use galacticad
binary and join the testnet.