Step By Step Guide to Install HyperLedger in Ubuntu
Hyperledger Fabirc Techaorha Solutions Private Limited , Mumbai

Before understanding how Install Hyperledger Fabric in Ubuntu  , please try to understand what exactly is block chain and what are the prerequisite required.


What is BlockChain and Hyperledger Fabric

Blockchain is finally making rounds around the globe. Initially started with Bitcoin , followed by many crypto currencies often refer as altcoin. Many people still believes that blockchain is all about Bitcoin and currency.

But Block Chain has many other applications and it can bring decentralization and transparency in every application or service we use.

Many organization and understood the importance of BlockChain and supporting platforms were launched to implement blockchain applications. Hyper Ledger Fabric is the a platform to developed and deploy Block Chain application/smart contract in Permission-ed network without requiring any sort of Crypto Currencies.

Techaorha Team in India (Mumbai) helps corporate and government to implement block chain application in their existing application make it more secure and transparent.

To Install Hyperledger Fabric in Ubuntu following componenets are required. Here is list. Steps required to install other components is detailed below that

  1. Curl
  2. Python
  3. Docker – Make sure you have made it accessible without sudo user and restart your system.
  4. Docker Compose
  5. Go Lang
  6. Node Js

Install Dependencies to Install Hyperledger Fabric in Ubuntu

Hyperledger requires some package to run the network, You must installing following dependencies to get started.

curl to Install Hyperledger Fabric in Ubuntu. INstall curl using following commands in Ubuntu

Installing Python  to Install Hyperledger Fabric in Ubuntu

Python is require for running hyperledger. Below command will install python 2.7 , which is the required version of hyper ledger.


Installing Docker to Install Hyperledger Fabric in Ubuntu

Hyperledger requires docker 17.06.2-ce or greater. So if you install docker from ubuntu packages it may not work as required.

Follow the below commands to install Docker in Ubuntu for HyperLedger.

Installing Docker Compose to Install Hyperledger Fabric in Ubuntu


Installing Go-Lang  to Install Hyperledger Fabric in Ubuntu

GO lang is high level language developed by Google. Many applications are written in Go-Language. Go-Lang is required to program logic and smart contracts in Hyperledger

Follow below step to install go-lang in Ubuntu


Installing NodeJs  to Install Hyperledger Fabric in Ubuntu

Node Js  is script based programming language. NodeJs is required by Hyperledger fabric to program logic and write contracts. This can also be used to developed front-end with the help of angularjs framework.

For Hyper Ledger NodeJs version are limited. Hyperledger fabric does not support NodeJs 9.x and its requires NodeJs above 8.9.x , so here you see option are very limited and the best to to install node js is via source code.

Follow below steps to install hyperleger one by one.

Download the fabric example and make the files readable. Make sure you navigate to the directory where you want to install the fabric example

Testing. To make sure everything is install as required. Lets run and create your first network on HyperLedger Fabric

Generate the Genesis block of Your Network


Start Your Network


If every things goes well , stop your network

Thanks for Reading till end. Hope the information provided above is very helpful to you.

If you want any help you can always contact us over here.  Techaorha is always ready to take any project or challenges in block chain technology.

Facebook Comments

Founder at Techaroha Solutions Private Limited. 10 Years experience in Software Industry with a special focus on SugarCRM,Artificial Intelligence , Deep Learning , Block Chain Technology and Crypto Currencies and Decentralization of Power using Block Chain. Block Chain Trainer and HyperLedger Trainer

One Comment

Comments are closed.