You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2009/04/28 13:09:30 UTC

[Couchdb Wiki] Update of "Installing on Gentoo" by DirkjanOchtman

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by DirkjanOchtman:
http://wiki.apache.org/couchdb/Installing_on_Gentoo

The comment on the change is:
Simplify instructions for installation.

------------------------------------------------------------------------------
  The simplest way is to use an the ebuild and install via portage (emerge).  This takes care of dependencies, creating the couchdb user, basically everything you need to get up and running.
  
- Unfortunately, the ebuild is not yet officially released, but grab latest here: https://bugs.gentoo.org/show_bug.cgi?id=197176
- 
- Other way - use couchdb overlay and layman.
- 
- 1. Install layman
  {{{
- emerge layman
+ echo dev-db/couchdb >> /etc/portage/package.keywords # couchdb is not in stable yet
+ emerge -pv couchdb # check what will be emerged, use flags, etc.
  }}}
  
- 2. Create file /usr/portage/local/layman/couch.xml with content:
- 
- {{{
- <?xml version="1.0" ?>
- <overlays>
-   <overlay contact="dirkjan@ochtman.nl" name="couchdb" src="http://hg.xavamedia.nl/portage/" type="mercurial">
-     <link>
-       http://hg.xavamedia.nl/portage/
-     </link>
-     <description>
-     CouchDB overlay
-     </description>
-   </overlay>
- </overlays>
- }}}
- 
- 3. Add this file into layman's overlays list (/etc/layman/layman.conf):
- {{{
- overlays  : http://www.gentoo.org/proj/en/overlays/layman-global.txt  # default
-             file:///usr/portage/local/layman/couch.xml                # couchdb
- }}}
- 
- 4. Enable couchdb overlay
- 
- {{{
- layman -a couchdb
- }}}
- 
- 
- 5. Unmask CouchDB
- 
- {{{
- echo dev-db/couchdb >> /etc/portage/package.keywords
- }}}
- 
- 6. Install CouchDB
- 
- {{{
- emerge couchdb
- }}}
-