Bazaar-NG only has one absolute requirement -- python 2.4. This baseline Bazaar, however, will not perform as well or be able to do all of the things that a more reasonable installation of Bazaar-NG will allow. This document will cover the installation of the latest development version of Bazaar-NG along with all of the tools that can make Bazaar-NG as useful as possible.
The first thing that you'll want to do is to ensure that python 2.4 installed. You can check this by running "python -V". If the python that you have is earlier than this, or if you don't have python at all, then use the cygwin package manager to install the newer one. You'll want the following things from the cygwin package manager:
1. python 2.4
2. openssh
3. rsync
4. gcc-core
The second thing that you'll do is manually download and install a few python packages. No worries; this process is easy. First, download the latest package for each of these modules:
1. cElementTree
2. pyCrypto
3. Paramiko
The third thing you need to do is perform two steps for each downloaded module:
1. unpack the latest version
2. cd into the unpacked directory and run "python setup.py install"
Now, its time to download a copy of bzr. Since you've installed rsync, we'll use that here:
$ cd /usr/local/lib
$ rsync -av bazaar-ng.org::bazaar-ng/bzr/bzr.dev /usr/local/lib
$ ln -s /usr/local/lib/bzr.dev/bzr /usr/local/bin/bzr
Congratulations! You now have Bazaar-NG installed. You're not done quite yet. As the last part of installation, we're going to use Bazaar-NG to install a plugin for itself called bzrtools. We do that this way:
$ cd ~
$ mkdir -p .bazaar/plugins
$ cd .bazaar/plugins
$ bzr branch http://panoramicfeedback.com/opensource/bzr/bzrtools/ bzrtools