How To Install Bazaar on a WestHost VPS

Bazaar is a distributed version control system written in Python. Documentation is available here. Bazaar should be considered experimental, as it has not yet reached release 1.0.

Follow the instructions below to install the Bazaar main program bzr with the cElementTree XML library and BzrTools package used by bzr.

The instructions below do not install software to generate graphs for the graph-ancestry feature of BzrTools. If you want that function, download and install Graphviz.

Installing

Use the WestHost Site Manager to install the GNU Compiler Collection and the latest release of Python.

Screen grab of WestHost Site Applications

Log in to your VPS and give the following command line commands:

  1. Download and install the Bazaar distribution package:

    cd
    wget http://bazaar-vcs.org/releases/src/bzr-0.16.tar.gz
    tar zxf bzr-0.16.tar.gz
    cd bzr-0.16
    python setup.py install --home /usr/local

    This step will end with an error message because the man page directory does not let you store into it, but the software should still work.

  2. Download and install the cElementTree XML parser:

    cd
    wget http://effbot.org/downloads/cElementTree-1.0.5-20051216.tar.gz
    tar zxf cElementTree-1.0.5-20051216.tar.gz
    cd cElementTree-1.0.5-20051216
    python setup.py install

  3. Download and install the Bzrtools distribution package:

    cd
    wget http://panoramicfeedback.com/opensource/bzrtools-0.16.1.tar.gz
    tar zxf bzrtools-0.16.1.tar.gz
    cd bzrtools
    python setup.py install

  4. If you want to remove the distribution packages to save space:

    cd
    rm -rf bzr-0.16* cElementTree-1.0.5-20051216* bzrtools*

Uninstalling

To remove Bazaar from your VPS, do the following:

rm -rf /usr/local/lib/python/bzrlib/ /usr/local/bin/bzr
cd /usr/local/python/lib/python2.5/site-packages/
rm -rf bzrlib BzrTools* cElementTree*

Last modified: Tuesday, May 29 2007 at 10:11:32 AM MDT