From 78e9fa6bf3e940c290b57edd9326c2aebc571ee1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 24 Aug 2023 19:36:47 +0000 Subject: [PATCH] Do not install IPFS y Go --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/README.md b/README.md index 45d8577..9afb39d 100644 --- a/README.md +++ b/README.md @@ -138,3 +138,51 @@ ipfs daemon ipfs add ipfs cat ``` + +## Compiling Go + + +```linux +apt install git gcc +snap install go --classic +mkdir -p ~/Applications +git clone https://go.googlesource.com/go ~/Applications/go +cd ~/Applications/go/src +git checkout go1.18 +./make.bash +``` + +Make sure to replace go1.18 with the latest Go version. + +Edit your ~/.profile to access this new Go installation. + +```linux +# Go +PATH="$HOME/Applications/go/bin:$PATH" +PATH="$HOME/go/bin:$PATH" +``` + +## Compiling IPFS + +```linux +apt install make pkg-config libssl-dev libcrypto++-dev +mkdir -p ~/Applications +git clone https://github.com/ipfs/go-ipfs.git ~/Applications/ipfs +cd ~/Applications/ipfs +go get github.com/lucas-clemente/quic-go@go118 +``` + +I follow exactly this guide install openssl: + +```linux +git clone --depth 1 https://github.com/openssl/openssl +cd openssl +./config enable-tls1_3 --prefix=/home/delia/openssl +make +make install +GOTAGS=openssl make install +``` + + + +