Skip to content

Instantly share code, notes, and snippets.

@wolfeidau
Created August 6, 2016 07:40
Show Gist options
  • Save wolfeidau/e0e38444ac35b3c879e0eebcf32476c5 to your computer and use it in GitHub Desktop.
Save wolfeidau/e0e38444ac35b3c879e0eebcf32476c5 to your computer and use it in GitHub Desktop.
Linux setup notes

Build golang deb file.

tar xvzf go1.7rc5.linux-amd64.tar.gz
mkdir -p root/usr/local root/etc/profile.d
mv go root/usr/local
cat /etc/profile.d/golang.sh << EOF
PATH=$PATH:/usr/local/go/bin
export PATH
EOF

fpm -s dir -t deb -n golang -v 1.7rc5 --iteration 1 -C root usr etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment