glance/doc/source/installing.rst

2.5 KiB

Installing Glance

Installing from packages

To install the latest version of Glance from the Launchpad Bazaar repositories, following the following instructions.

Debian/Ubuntu

  1. Add the Glance PPA to your sources.lst:

    $> sudo add-apt-repository ppa:glance-core/trunk
    $> sudo apt-get update
  2. Install Glance:

    $> sudo apt-get install glance

RedHat/Fedora

Need some help on this one...

Mac OSX

No idea how to do install on Mac OSX. Somebody with a Mac should complete this section

Installing from source tarballs

To install the latest version of Glance from the Launchpad Bazaar repositories, following the following instructions.

  1. Grab the source tarball from Launchpad

  2. Untar the source tarball:

    $> tar -xzf <FILE>
  3. Change into the package directory and build/install:

    $> cd glance-<RELEASE>
    $> sudo python setup.py install

Installing from a Bazaar Branch

To install the latest version of Glance from the Launchpad Bazaar repositories, following the following instructions.

Debian/Ubuntu

  1. Install Bazaar and build dependencies:

    $> sudo apt-get install bzr python-eventlet python-routes python-greenlet swift
    $> sudo apt-get install python-argparse python-sqlalchemy python-wsgiref python-pastedeploy

Note

If you want to build the Glance documentation locally, you will also want to install the python-sphinx package

  1. Branch Glance's trunk branch:

    $> bzr branch lp:glance
  2. Install Glance:

    $> sudo python setup.py install

RedHat/Fedora

Need some help on this one...

Mac OSX

No idea how to do install on Mac OSX. Somebody with a Mac should complete this section