1. Installing ontology

Source: Internet
Author: User

The following preparations are required to successfully compile ontology:

  • Golang version 1.9 and above
  • Install the third-party package management tool Glide
  • The right Go language development environment
  • Operating systems supported by the Golang

Deploy | Get ontology

Get from source

Clone Ontology warehouse to $GOPATH/src/github.com/ontio Directory

$ git clone https://github.com/ontio/ontology.git

Or

$ go get github.com/ontio/ontology

Glide pull dependent libraries with third-party package management tools

$ cd $GOPATH/src/github.com/ontio/ontology$ glide install

Compiling the source code with make

$ make

Two executable programs are generated after a successful compilation

  • ontology: Node program/node control procedure provided by command line

Get from release

You can download at release page.

Note: The dependencies that are encountered during the installation process cannot be downloaded by glide if the dependency needs to be github.com

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.