Programster's Blog

Tutorials focusing on Linux, programming, and open source

Ubuntu - Install B2 CLI Tool

Run the script below to install/upgrade Python PIP, and then use it to install/upgrade the Backblaze B2 CLI tool.

This has been tested on Ubuntu 16.04 but should also work on 14.04.

# Install/upgrade PIP
sudo apt-get install \
python-pip \
python-dev \
build-essential -y

sudo pip install --upgrade pip

# Install / upgrade b2
sudo pip install --upgrade b2