Install Azure Service fabric CLI on Ubuntu

Azure Service Fabric CLI [sfctl] depends on following :

  1. Python3
  2. Pip3
  3. Setuptools

 

  1. Python3

Ubuntu 16.04 has python3 pre-installed, test using following command:

$> python3 -V

Incase, you get error stating “python3” not found, install it using following command:

$> sudo apt install python3 python3-dev build-essentials
  1. Pip3

PIP is package management tool for python, most probably its pre-installed in your system

To install manually:

$> sudo apt install python3-pip

To upgrade default version 8.1.1 to 9.0.x

$> pip3 install --upgrade pip

$> pip3 --version
  1. Setuptools

A package required for SFCTL, And it must be installed manually:

$> pip3 install setuptools --user
  1. sfctl

Install sfctl package using pip3

$> pip3 install sfctl --user

 

Now, sfctl is available in User’s .local/bin folder

Eg. For user “mahendra” location of sfctl is /home/mahendra/.local/bin

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s