Oct 27, 2017 - This guide teaches how to install the Z File System (ZFS) on Ubuntu 17.04 and commands to show it's usage in creating or destroying pools and viewing stats.
#This line will tell the Go installer where to place the source code before compilation export GOROOT=$HOME/gosource #With this line, you choose the architecture of your machine. #Those with 64 bit CPUs should enter "amd64" here. export GOARCH=386 #Your operating system export GOOS=linux #And now the location where the installer will place the finished files #Don't forget to create this directory before installing export GOBIN=$HOME/gobin #Include Go binaries in command path export PATH=$PATH:$GOBIN
source ~/.bashrc
#If you normally use aptitude instead of apt-get, use that here as well sudo apt-get install bison gcc libc6-dev ed gawk make python-setuptools python-dev build-essential sudo easy_install mercurial
package main import "fmt" func main() { fmt.Printf("Hello, Go!\n") }
…
#These commands are for 32-bit builds #Replace the "8" with "6" in all examples to build for 64. #Compile... 8g test.go #Link 8l test.8 #And run.. ./8.out