Installing OpenBazaar Beta on Ubuntu (Early October 2015)

I’ve been super stoked about OpenBazaar from when I first saw video presentations in 2013 teasing about it. As a freedom lover, I’m huge into cryptocurrencies and peer to peer, decentralized software. I’ve been a long time user of eBay, and have never been happy with it or paypal. Should it deliver on it’s promises, OpenBazzar makes so much sense to me, and I’m really looking forward to selling products there.

A few months ago I had tried using OpenBazaar (v0.4 I believe?), only to set up a shop and realize my shop wasn’t being displayed on other people, and I couldn’t see any other shops. When I first ran the software, I could see shops, then a day later they all disappeared. I quickly abandoned the idea of being one of the first shops online, but that’s ok, I jumped the gun since it was advertised as a developer preview only.

It’s been awhile, and there’s a new iteration of the software being developed. I figured I’d give it a whirl and see how it’s progressed.

Given the rapid development of OpenBazzar, these instructions will probably be obsolete soon, but I thought I’d make note of the process I used to get the beta version, in case I want to do it again soon or someone else needs some clues on how to install it themselves. The commits I used were and Note I didn’t specifically choose these commits. At the time, on or around October 5th 2015, I just did git clone , fetching the latest version of master.

Another note. This installation process is useful for preview only. Don’t expect to get a store up and running at this point. On these versions I installed, I was unable to create an item because I couldn’t upload an image.

Now on to the install process! I’m drawing from the of the client and server.
Install some system dependencies

make a place for openbazaar

get sources

lets install the server first. lets make a virtual environment for it

activate the virtual env

install python dependencies. this will take awhile

there is a missing dependency in the above requirements.txt, so install that too

if those dependencies install without error, go ahead and compile. this will take a LONG time.

for me, compiling took about 2 hours. you may get an error such as

I think this should be ok, as pycheck is a code quality review tool, and it’s success is not required for OB to run. Go ahead and start OpenBazaar now

you should see server output similar to the following

now that the server is running, switch over to the client directory

install dependencies and start the client

The openbazaar client will run and display on your screen. Enjoy the preview of OpenBazaar!

2 thoughts on “Installing OpenBazaar Beta on Ubuntu (Early October 2015)”

  1. Client side won’t run:

    OpenBazaar@0.1.0 start /home/jehu/openbazaar/OpenBazaar-Client
    > electron main.js

    sh: 1: electron: not found

    npm ERR! OpenBazaar@0.1.0 start: electron main.js
    npm ERR! Exit status 127
    npm ERR!
    npm ERR! Failed at the OpenBazaar@0.1.0 start script.
    npm ERR! This is most likely a problem with the OpenBazaar package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! electron main.js
    npm ERR! You can get their info via:
    npm ERR! npm owner ls OpenBazaar
    npm ERR! There is likely additional logging output above.
    npm ERR! System Linux 4.2.0-16-generic
    npm ERR! command “/usr/bin/nodejs” “/usr/bin/npm” “start”
    npm ERR! cwd /home/jehu/openbazaar/OpenBazaar-Client
    npm ERR! node -v v0.10.25
    npm ERR! npm -v 1.4.21
    npm ERR! code ELIFECYCLE
    npm WARN This failure might be due to the use of legacy binary “node”
    npm WARN For further explanations, please read

    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR! /home/jehu/openbazaar/OpenBazaar-Client/npm-debug.log
    npm ERR! not ok code 0

  2. It looks like you don’t have the node module electrum installed on the client side. to install–

    change to your open bazaar client directory
    $ cd /home/jehu/openbazaar/OpenBazaar-Client

    install all the node modules open bazaar needs
    $ npm install

    try to start open bazaar client again
    $ npm start

Leave a Reply

Your email address will not be published.