Install Go(Golang) on Ubuntu

There are many ways to configure the Go development environment on your computer, you can choose any one you like. The three most common ways are as follows.


Official installation packages
The Go team provides convenient installation packages in Windows, Linux, Mac
and other operating systems. The easiest way to get started.

Install from source code
Popular with developers who are familiar with Unix-like systems.

Use third-party tools
There are many third-party tools and package managers for installing Go, like apt-
get in Ubuntu and homebrew for Mac.

In case you want to install more than one version of Go in one computer, you should take a look at the tool called GVM. It is the best tool I’ve seen so far for achieving this job,¬† otherwise you have to know how to deal with this problem by yourself.


Using GVM

1. Make sure to install pre-requisite libraries first

sudo apt-get update
sudo apt-get install curl git mercurial make binutils bison gcc

2. Install GVM

bash < <(curl -s

3. Install Go

gvm install go1.2
gvm use go1.1.2 [--default]
gvm list

Install Go Binary

1.  Install required libraries

sudo apt-get install python-software-properties  # 12.04
sudo add-apt-repository ppa:duh/golang
sudo apt-get update

2. Install Go

sudo apt-get install golang

3. export the settings you’re gonna need to bash_rc or equivalent:

export GOROOT=/usr/lib/go
export GOBIN=/usr/bin/g

From Source

1. Dependencies

sudo apt-get update
sudo apt-get install gcc make mercurial git libc6-de

2. Building from source

hg clone -u release
$ cd go/src
$ ./all.bas

3. The GOPATH environment variable

Go commands all rely on one important environment variable which is called $GOPATH. Notice that this is not the $GOROOT where Go is installed. This variable points to the workspace of Go in your computer. (I use this path in my computer, if you don’t have the same directory structure, please replace by yourself.)

export GOPATH=$HOME/gocode
export PATH=$PATH:$GOPATH/bin

Note:- If your Go version is greater than 1.0, you don’t have to set $GOBIN, and it will automatically be related to your $GOROOT/bin, which we will talk about in the next section

You can install any of the above three way. I mostly prefer using GVM. I hope it will help you.!

Some insights into PaaS market

Platform as a Service is a one of the GROWING sector of cloud computing. PaaS basically help developer to speed the development of app, saving money and most important innovating their applications and business instead of setting up configurations and managing things like servers and databases.

Other features buying to use PaaS is the application deployment process such as agility, High Availability, Monitoring, Scale / Descale, limited need for expertise, easy deployment, and reduced cost and development time.

PaaS Market

Major forces driving the PaaS

– Pay as you Go
– Low start up cost
– Leave the plumbing to expert
– PaaS handles auto scaling/descaling, Load blancing, disaster recovery
– PaaS manages all security requirements
– PaaS manages reliability, High Availability
– Paas manages manay third party addon’s for you

Barrier to PaaS adoption?

– Less Control over Server and databases
– Have to be expert to mange security controls and audits
– Costs will be very high if not governed properly
– Premature and dobious in current day and age

Major PaaS providers are Heroku, App42 PaaS , Jelastic, and Engine Yard. When we talk about revenue, The global PaaS market is estimated to grow from $1.28 billion in 2013 to $6.94 billion in 2018 at a compound annual growth rate (CAGR) of 32.54% in this period. In terms of geographies, North America continues to be the biggest market for PaaS solutions. In 2012, PaaS revenues ($1.2 billion) was the tenth of the size of SaaS ($14.4 billion), a fifth of IaaS ($6.2 billion), and just a tiny fraction of BPaaS ($84.1 billion).

PaaS has always taken a very small space in the cloud computing arena as compared to the other two segments: IaaS and SaaS. But the trend has recently shown a drift with PaaS market showing a very high growth rate in terms of revenue. Though it is still not as huge as the other two segments but now holds a significant proportion of the pie. PaaS has now been adopted by most of the big cloud computing and IT solution providers like Amazon, IBM, Google etc. as one of their main services.. Many small players have also emerged and made the market very dynamic and competitive. Application developers are benefiting from this fact resulting in more adoption and thus increasing the demand for PaaS all the more in various sectors.

We expect to see more and more application development companies choosing PaaS over IaaS or traditional Hosting, as they can then focus on driving innovation and building apps that change their interactions with customers, partners and community. It will make them free of the details of infrastructure, so they can push the possibilities of the latest technology to build great web and mobile applications.