Bazaar

Bazaar

 




Wiki Tools

  • 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:

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-explorer, qbzr, loggerhead, 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://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.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.

To install on Debian:

sudo apt-get -t lenny-backports install bzr

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/result/?search=bzr.

See http://slackbuilds.org/howto/ for further instructions.

Install the resulting package (which will be in /tmp by default) using installpkg (or upgradepkg if you already have a previous version of bzr installed).

openSUSE

Bazaar is shipped with the distribution. You can install the package "bzr" using YaST's package manager or on the command line by running the following command (as root):

# zypper install bzr

Current versions of Bazaar for openSUSE Linux (and some other Linux distributions) are available from the openSUSE Build Service, in the devel:tools:scm package repository. You can add this repository and install the latest version manually using the following commands (openSUSE 11.4):

# zypper addrepo -f http://download.opensuse.org/repositories/devel:/tools:/scm/openSUSE_11.4/devel:tools:scm.repo
# zypper refresh
# zypper update bzr

Alternatively, you can use the "1-Click Installation" option, which allows you to install new packages out of your web browser:

Gentoo

dev-util/bzr

Exherbo

Exherbo has a regular package for Bazaar (it's called bzr, though) which you can install easily:

# cave resolve -x dev-scm/bzr

For detailed metadata about our package, see dev-scm/bzr.