Created
February 5, 2018 19:08
-
-
Save hoogenm/1343b37d1f0b9e0550308e1f4d1a8e98 to your computer and use it in GitHub Desktop.
Setup go and gophernotes (Jupyter go) on Centos/Fedora
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# For Fedora/Centos/RHEL | |
# Install go, add to path, install gophernotes | |
GO_VERSION = 1.9.3 | |
cd ~ | |
wget https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz | |
tar -xvzf go${GO_VERSION}.linux-amd64.tar.gz | |
sudo mv go /usr/local/ | |
mkdir go | |
# Note: env settings are not permanent: add to .bashrc to make permanent | |
export GOPATH=$(pwd)/go | |
export PATH=$PATH:/usr/local/go/bin:$(pwd)/go/bin | |
yum install -y zeromq zeromq-devel # required for gophernotes | |
go get -u github.com/gopherdata/gophernotes | |
mkdir -p ~/.local/share/jupyter/kernels/gophernotes | |
cp $GOPATH/src/github.com/gopherdata/gophernotes/kernel/* ~/.local/share/jupyter/kernels/gophernotes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment