Bazaar

Bazaar

 




Wiki Tools

  • Login
  • Create Profile
  • Find Page
  • Recent Changes
  • Page History
  • Attachments

GNU/Linux Downloads and Installation

This page covers installation of Bazaar using a distribution's package manager (e.g. dpkg, rpm, etc). Alternatively you can install Bazaar from source.

We welcome new people who can help maintain Bazaar on additional operating systems -- please write to us on the Bazaar mailing list.

Ubuntu and derivatives

Packages for Ubuntu are available from Launchpad PPAs. To ensure you always have the latest Bazaar release installed, add lines to your /etc/apt/sources.list. Follow the links in this table to see the relevant /etc/apt/sources.list lines:

https://launchpad.net/~bzr/+archive

stable releases (2.0.x)

https://launchpad.net/~bzr-beta-ppa/+archive

beta releases (2.1.0bx)

https://launchpad.net/~bzr-nightly-ppa/+archive

nightly builds from trunk (2.1.0dev)

Bazaar is very heavily tested, so we consider it safe to run the latest released version. Also, old archive formats continue to be supported with built-in upgrade commands, so you can always access your archives even using the latest Bazaar.

If you wish to run beta test versions, which we appreciate very much, please also add the "released versions" archive so that you get the final version when it comes out.

Note: the Ubuntu package is 'bzr', not 'bazaar'.

Older Ubuntu versions may contain older versions of Bazaar: see this list of Bazaar versions in each Ubuntu release. To get the latest release, use the apt repository as described above.

Fedora

Note: the Fedora package is 'bzr', not 'bazaar'. Packages are maintained for all current releases. To install on Fedora, su -c 'yum install bzr' should work.

Also available are bzrtools, bzr-gtk, olive, and trac-bzr.

CentOS/RHEL

Note: RHEL didn't start including python-2.4 until RHEL-5 so there won't be prepackaged versions of bzr for RHEL-4 and earlier. For Red Hat Enterprise Linux and derivative distributions like CentOS and Scientific Linux bzr packages are available from the EPEL repository. EPEL (Extra Packages for Enterprise Linux) is a repository created by the Fedora Project to bring packages present in Fedora to CentOS and RHEL.

If you do not have the EPEL repository enabled, the first step is to enable it:

su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm'

Then you can use yum to install the bzr package: su -c 'yum install bzr'

If the latest bzr version is not found by yum, you may also check the EPEL-testing repository. This is done by editing the /etc/yum.repos.d/epel-testing.repo file (installed by the previous rpm command) and changing the first "enabled=0" to "enabled=1". Reexecute the yum command to search for bzr again: su -c 'yum install bzr'

Mandriva

Note: the Mandriva package is 'bzr', not 'bazaar'. Bazaar is in the 'contrib' media section (see http://easyurpmi.zarb.org) Packages are maintained for all current releases. Backports for stable releases are made available later. Currently bzrtools, qbzr, bzr-gtk and the python dependencies for loggerhead are all packaged.

Debian

Bazaar releases are regularly packaged into sid/unstable. Backports for stable are made available a bit later on backports.org.

Slackware

For install bazaar in slackware you have two options for installation.

1. Through the package tgz:

Download the last version in http://bazaar-vcs.org/Download (???) tgz package:

And install:

# installpkg bzr-x.x-i486-x.tgz

note 1: For upgrade you can use upgradepkg bzr-x.x.x-i486-x.tgz note 2: This package has build for Slackware 12.1, if you use another versions, use the next option for installation.

2. Build a package with slackbuild

Download the tarball of current stable version in http://bazaar-vcs.org/SourceDownloads

Download the Bazaar Slackbuild in http://slackbuilds.org/repository/13.0/development/bzr/. (note: For another version, you can find the slackbuild in https://launchpad.net/bzr/+download ???)

Unpack the bzr.tar.gz:
$ tar zxvf bzr.tar.gz
Move the bazaar source pack inside bzr work dir:
$ mv bzr-x.x.x.tar.gz bzr/
And build the package with root user:
# cd bzr/
# sh bzr.SlackBuild
After build the package, you can install:
# installpkg /tmp/bzr-x.x.x-i486-x.tgz ( note: for upgrade use upgradepkg bzr-x.x.x-i486-x.tgz)

openSUSE

1-Click Install (openSUSE 11.1)

Gentoo

dev-util/bzr