Skip to Main Content
Getting Started with CouchDB
book

Getting Started with CouchDB

by MC Brown
January 2012
Beginner content levelBeginner
84 pages
1h 58m
English
O'Reilly Media, Inc.
Content preview from Getting Started with CouchDB

Chapter 2. Installation

For you to get started with CouchDB, you need to install the CouchDB application. You may be lucky enough to have CouchDB installed already. For example, if you use Ubuntu 9.10 (Karmic) or later, then CouchDB comes pre-installed.

If not, you’ll need to use one of the methods below to get CouchDB installed on your system:

  • Install using the native packages for your chosen Linux platform. Many of the Linux distributions include CouchDB within their standard package suites.

  • By downloading the source code from the Apache CouchDB project page. Building from source requires a suitable build environment, some libraries, and prerequisites (such as Erlang). In general this method is not recommended as the prebuilt packages are much easier to use.

The first method is the easiest solution and will get you up and running as quickly as possible. The latter option may be useful to you if you want to do any development or customization of CouchDB.

Installation on Linux

Certain Linux platforms either include CouchDB or provide a package as part of its native package management system.

On Ubuntu and Debian you can use:

sudo aptitude install couchdb

On Gentoo Linux there is a CouchDB ebuild available:

sudo emerge couchdb

In all cases, the installation should install and automatically start CouchDB for you. If not, you can always start or stop using the init scripts. For example:

/etc/init.d/couchdb start

Installation on Mac OS X

On Max OS X there are builds available using Homebrew (see ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Scaling CouchDB

Scaling CouchDB

Bradley Holt
CouchDB: The Definitive Guide

CouchDB: The Definitive Guide

J. Chris Anderson, Jan Lehnardt, Noah Slater

Publisher Resources

ISBN: 9781449309589Errata Page