curl, wget, git, jq, build-essential.Update and install essential dependencies:
sudo apt update && sudo apt upgrade -y
sudo apt install curl wget git jq build-essential libssl-dev -y
Install Go (version 1.20 or later):
wget <https://go.dev/dl/go1.20.5.linux-amd64.tar.gz>
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf go1.20.5.linux-amd64.tar.gz
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.bashrc
source ~/.bashrc
Check the installation:
go version
Clone the Gitopia core repository and build the binaries:
git clone <https://github.com/gitopia/gitopia.git>
cd gitopia
git checkout v1.4.0 # Replace with the latest release tag
make install
Verify the installation:
gitopiad version