~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/user-guide/installing_bazaar.txt

  • Committer: Ian Clatworthy
  • Date: 2007-11-14 03:50:56 UTC
  • mto: (3054.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3055.
  • Revision ID: ian.clatworthy@internode.on.net-20071114035056-72l6odzpby4bcmub
First cut at new look User Guide including chapters 1 and 2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Installing Bazaar
 
2
=================
 
3
 
 
4
Linux
 
5
-----
 
6
 
 
7
Bazaar packages are available for most popular Linux distributions
 
8
including Ubuntu/Debian, Red Hat and Gentoo.
 
9
See http://bazaar-vcs.org/Downloads for the latest instructions.
 
10
 
 
11
Windows
 
12
-------
 
13
 
 
14
For Windows users, an installer is available that includes
 
15
the core Bazaar package together with necessary pre-requisites
 
16
and some useful plug-ins.
 
17
See http://bazaar-vcs.org/Downloads for the latest instructions.
 
18
 
 
19
Note: If you are running Cygwin on Windows, a Bazaar for Cygwin package
 
20
is available and ought to be used instead of the Windows version.
 
21
 
 
22
Other operating systems
 
23
-----------------------
 
24
 
 
25
Beyond Linux and Windows, Bazaar packages are available for a large
 
26
range of other operating systems include Mac OS X, FreeBSD and Solaris.
 
27
See http://bazaar-vcs.org/Downloads for the latest instructions.
 
28
 
 
29
 
 
30
Installing from scratch
 
31
-----------------------
 
32
 
 
33
If you wish to install Bazaar from scratch rather than using a
 
34
pre-built package, the steps are:
 
35
 
 
36
  1. If it is not installed already, install Python 2.4 or later.
 
37
 
 
38
  2. Download the ``bazaar-xxx.tar.gz`` file (where xxx is the version
 
39
     number) from http://bazaar-vcs.org/Downloads or from Launchpad
 
40
     (https://launchpad.net/~bzr/).
 
41
 
 
42
  3. Unpack the archive using tar, WinZip or equivalent.
 
43
 
 
44
  4. Put the created directory on your PATH.
 
45
 
 
46
To test the installation, try running the **bzr** command like this::
 
47
 
 
48
  bzr version
 
49
 
 
50
This will display the version of Bazaar you have installed. If this
 
51
doesn't work, please contact us via email or IRC so we can help you
 
52
get things working.
 
53
 
 
54
 
 
55
Running the development version
 
56
-------------------------------
 
57
 
 
58
If you wish to always be using the very latest development version of
 
59
Bazaar, it is easy to do so. Note that this is not recommended for
 
60
the majority of users as there is an increased risk of bugs. On the other
 
61
hand, the development version is remarkably solid (thanks to the processes
 
62
we follow) and runnig it makes it easier for you to help us make Bazaar
 
63
even better either through increased testing or sending us changes for
 
64
bugs and improvements.
 
65
 
 
66
Here are the steps to follow:
 
67
 
 
68
  1. Install Bazaar using one of the methods given above.
 
69
 
 
70
  2. Get a copy of the development version like this::
 
71
 
 
72
       bzr branch http://bazaar-vcs.org/bzr/bzr.dev
 
73
 
 
74
  3. Put the created directory (bzr.dev) on your PATH.
 
75
 
 
76
Advanced users may also wish to build the optional C extensions for greater
 
77
speed. This can be done using ``make`` and requires ``pyrex`` and a C compiler.
 
78
Please contact us on email or IRC if you need assistance with this.
 
79
 
 
80
 
 
81
Running multiple versions
 
82
-------------------------
 
83
 
 
84
One of the neat things about Bazaar is that it's really easy to have
 
85
multiple versions installed and to switch between them. To do this,
 
86
simply provide the full path to the **bzr** command you wish to run.
 
87
The relevant libraries will be automatically detected and used. Of course,
 
88
if you do not provide a path, then the **bzr** used will be the one on
 
89
your path as normal.
 
90
 
 
91
Note that this capability is particularly useful if you wish to run
 
92
(or test) both the latest released version and the development version say.
 
93