Skip to content

Instantly share code, notes, and snippets.

@frutik
Forked from z0mbix/install-etcd-centos-6.5
Last active August 29, 2015 14:08
Show Gist options
  • Save frutik/32e192da02467ad6e318 to your computer and use it in GitHub Desktop.
Save frutik/32e192da02467ad6e318 to your computer and use it in GitHub Desktop.
# cat /etc/redhat-release
CentOS release 6.5 (Final)
golang from EPEL:
# rpm -qi golang
Name : golang Relocations: (not relocatable)
Version : 1.1.2 Vendor: Fedora Project
Release : 4.el6 Build Date: Fri 20 Sep 2013 16:21:49 BST
Install Date: Thu 09 Jan 2014 15:14:13 GMT Build Host: buildvm-17.phx2.fedoraproject.org
Group : Unspecified Source RPM: golang-1.1.2-4.el6.src.rpm
Size : 106811250 License: BSD
Signature : RSA/8, Fri 20 Sep 2013 18:50:10 BST, Key ID 3b49df2a0608b895
Packager : Fedora Project
URL : http://golang.org/
Summary : The Go Programming Language
Description :
The Go Programming Language.
# yum info golang
Installed Packages
Name : golang
Arch : x86_64
Version : 1.1.2
Release : 4.el6
Size : 102 M
Repo : installed
From repo : epel
Summary : The Go Programming Language
URL : http://golang.org/
License : BSD
Description : The Go Programming Language.
# go version
go version go1.1.2 linux/amd64
# git clone https://github.com/coreos/etcd
Cloning into 'etcd'...
remote: Reusing existing pack: 7068, done.
remote: Total 7068 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (7068/7068), 5.05 MiB | 207.00 KiB/s, done.
Resolving deltas: 100% (3299/3299), done.
Checking connectivity... done.
# cd etcd
# ./build
src/github.com/BurntSushi/toml/decode.go:4:2: no Go source files in /usr/lib64/golang/src/pkg/encoding
# ls -l /usr/lib64/golang/src/pkg/encoding
total 44
drwxr-xr-x 2 root root 4096 Jan 9 15:14 ascii85
drwxr-xr-x 2 root root 4096 Jan 9 15:14 asn1
drwxr-xr-x 2 root root 4096 Jan 9 15:14 base32
drwxr-xr-x 2 root root 4096 Jan 9 15:14 base64
drwxr-xr-x 2 root root 4096 Jan 9 15:14 binary
drwxr-xr-x 2 root root 4096 Jan 9 15:14 csv
drwxr-xr-x 2 root root 4096 Jan 9 15:14 gob
drwxr-xr-x 2 root root 4096 Jan 9 15:14 hex
drwxr-xr-x 3 root root 4096 Jan 9 15:14 json
drwxr-xr-x 2 root root 4096 Jan 9 15:14 pem
drwxr-xr-x 2 root root 4096 Jan 9 15:14 xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment