Basic Installation
You must be logged in as root (superuser) or use sudo to run the installation commands.
Download the meta package.
curl -O https://packages.couchbase.com/releases/couchbase-release/couchbase-release-1.0-x86_64.rpm
Install the meta package.
sudo rpm -i ./couchbase-release-1.0-x86_64.rpm
The meta package installs the necessary information for yum to be able to retrieve all of the necessary Couchbase Server installation packages and dependencies.
Install Couchbase Server.
To install the latest release
sudo yum install couchbase-server
You’ll be prompted to start the download of Couchbase Server (plus any dependencies), as well as import several GPG keys. For each of these prompts, type y to accept and continue.
To install a specific release
List the available releases.
yum list –showduplicates couchbase-server
Available releases are listed with their full version-build number:
couchbase-server.x86_64 6.0.0-1693
Specify a release to install it.
sudo yum install couchbase-server-version-build
Using the example listing from the previous step, the resulting installation command would be:
sudo yum install couchbase-server-6.0.0-1693
You’ll be prompted to start the download of Couchbase Server (plus any dependencies), as well as import several GPG keys. For each of these prompts, type y to accept and continue.