We are super excited to announce that we have created and deployed new yum and apt-get repos for installing Couchbase products.

We now provide a single “couchbase-release” package in both RPM and DEB for installing latest versions of – Couchbase Server Enterprise Edition, Couchbase Server Community Edition and Couchbase Server SDK’s.

In this blog I will go through the step-by-step instructions for installing Couchbase Server.

Configure yum repository for RHEL/CentOS 6 or 7

The “couchbase-release” rpm package includes gpg keys for verification of signed rpm packages and also sets up the yum repository.

You can download rpm package “couchbase-release-1.0-0-x86_64.rpm” from here. Once downloaded, as root, run the following command to install the rpm:

# rpm -i couchbase-release-1.0-0-x86_64.rpm

To check all the available packages from Couchbase, run the following command:

# yum list available | grep couchbase

couchbase-server.x86_64                              4.1.0-5005        couchbase-server

couchbase-server-community.x86_64       4.1.0-5005        couchbase-server-community

libcouchbase-debuginfo.x86_64                 2.5.6-1.el6         couchbase-sdk

libcouchbase-devel.x86_64                          2.5.6-1.el6         couchbase-sdk

libcouchbase2-bin.x86_64                           2.5.6-1.el6          couchbase-sdk

libcouchbase2-core.x86_64                         2.5.6-1.el6          couchbase-sdk

libcouchbase2-libev.x86_64                        2.5.6-1.el6          couchbase-sdk

libcouchbase2-libevent.x86_64                  2.5.6-1.el6          couchbase-sdk

Installing Couchbase Server using yum

You can use yum to install the latest version of couchbase-server enterprise edition or community editions.

To install Couchbase Server Enterprise Edition or Couchbase Server Community Edition, run the following command:

# yum install couchbase-server

OR

# yum install couchbase-server-community

Accept (answer “y”) to install the package and also to import gpg keys for key verification.

Configure apt-get repository for Ubuntu 12.04/14.04 or Debian 7

If you are on Ubuntu or Debian Linux then you can download deb package “couchbase-release-1.0-0-amd64.deb” from here. Once downloaded, as root, run the following command to install the rpm:

# dpkg -i couchbase-release-1.0-0-amd64.deb

To check all the available packages from Couchbase, run the following command:

# apt-cache search couchbase

couchbase-server – Couchbase Server

couchbase-server-community – Couchbase Server

libcouchbase-dbg – library for the Couchbase protocol, debug symbols

libcouchbase-dev – library for the Couchbase protocol, development files

libcouchbase2-bin – library for the Couchbase protocol

libcouchbase2-core – library for the Couchbase protocol, core files

libcouchbase2-libev – library for the Couchbase protocol (libev backend)

libcouchbase2-libevent – library for the Couchbase protocol (libevent backend)

couchbase-release – This package contains Couchbase repository GPG key as well as configuration for apt repository.

Installing Couchbase Server using apt-get

You can use yum to install the latest version of couchbase-server enterprise edition or community editions.

To install Couchbase Server Enterprise Edition or Couchbase Server Community Edition, run the following command:

# apt-get install couchbase-server

OR

# apt-get install couchbase-server-community

Updating Package Sources

If you have previously configured YUM and APT repositories for Couchbase C SDK we urge you to update new parent package “couchbase-release-1.0-0”. You can find the documentation here.

Read more about Couchbase Server installation, hardware & software requirement, post installation etc in our documentation here.

Posted by Anil Kumar, Principal Product Manager, Couchbase Server

As a Principal Product Manager at Couchbase, Anil Kumar is responsible for Couchbase Server product development, roadmaps, positioning, messaging, and collateral. Prior to joining Couchbase, Anil spent several years working at Microsoft in the Entertainment division and most recently in the Windows and Windows Live division. Anil holds a master's degree in computer science and a bachelor's in information technology.

One Comment

  1. Can we install older couchbase versions using “yum install” command?
    I am trying to install Couchbase-server 4.6.0 version but the repository shows only 4.6.2 version is available.

Leave a reply