How to Install CouchDB on Debian 10 Operating System

Update on:
Sep 2, 2021

The CouchDB is an open-source database system, managed by the Apache Software Foundation. It is fault-tolerant, and schema-free NoSQL database management system.

CouchDB store data in document or files with JSON data structure. Each document contains fields and attachments, where fields have text, numbers, lists, Booleans, and more data. The data of this database accessed by using RESTful HTTP/JSON API that use to read, create, edit, and delete database files or documents.

Today, In this tutorial, we will learn how to install CouchDB on Debian 10 machine.


Before starting the installation tutorial, make sure you have a Debian 10 running machine and user access to log in to the machine with sudo privileges.

CouchDB repository Enable

The CouchDB database’s “.deb” package use to install into Debian Operating system which is available from Official repository of CouchDB.

So, to install CouchDB on Debian machine first need to add and enable the official repository on the system, which can be done by run following commands:

$ echo "deb https://apache.bintray.com/couchdb-deb bionic main" | sudo tee -a /etc/apt/sources.list
$ curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -

Install CouchDB on Debian

After enabling the repository on Debian system, you can update the repository package list and install CouchDB, as shown below:

$ sudo apt update
$ sudo apt install couchdb

The CouchDB installation available with two different architectures, one is Standalone, and another one Clustered mode.

After running the installation command, the first screen will ask you to choose the installation architecture as we are installing CouchDB into a single system, so we choose the “standalone” mode.

The next screen will appear to enter the IP address of Network interface on which the CouchDB will bind to access. As we are using it in the single server, we can leave the default IP “” but if you use it in cluster mode enter your IP “” to access from any server or you can enter the specific IP address to connect from specific server or address.

As I am going to use it on a single server, I’ll leave IP “” here.

Now, time to set an admin password to access CouchDB. It is highly recommended to create an admin password which will make CouchDB secure for authentication. If you leave password blank on this screen, the admin user will not create.

After confirming the password, CouchDb installation will continue.

Verify CouchDB Installation

You can verify CouchDB installation by running the curl command, which will print database information in JSON format, as shown below:

$ curl

The output will look like below format:

      "name":"The Apache Software Foundation"

You can verify CouchDB installation on GUI also by access the IP address on the browser, as shown below:


Congratulation, Now you learned “How to install CouchDB on Debian 10 machine?” and you can also verify if already installed CouchDB in any Debian system. You can learn more about CouchDB using Apache CouchDB Documentation.

Related Posts

How to Install MongoDB on Debian 10 Linux

How to Install MongoDB on Debian 10 Linux

MongoDB is an open-source and free NoSQL document based database system. Nowadays, it is prevalent as most application developers are using MongoDB, which can handle big data. As a MongoDB is a NoSQL database, It stores data in JSON-like documents where fields can...

How to Setup a Firewall with UFW on Debian 10 Linux

How to Setup a Firewall with UFW on Debian 10 Linux

Nowadays, a Firewall is an essential utility and property of any system for security; by default Debian Operating system having a firewall configuration tool named UFW (Uncomplicated Firewall). UFW is a user-friendly front-end tool to manage iptables firewall rules....

How to Install Eclipse IDE on Debian 10 Linux

How to Install Eclipse IDE on Debian 10 Linux

Eclipse is the most famous and widely used Java integrated development environment (IDE). It supports many plugins to enhance the capabilities to use for other programming language development environments such as PHP, C++, and JavaScript. You can install Eclipse IDE...

How to Install Ruby on Debian 10 Linux

How to Install Ruby on Debian 10 Linux

Nowadays, Ruby is the most popular language, especially for SaaS application development. It has a perfect and elegant syntax structure, and it is the language behind the ultimate robust framework known as Ruby on Rails. In this tutorial, we will explain the three...

Follow Us

Our Communities

More on Debian

The Ultimate Managed Hosting Platform
Load WordPress Sites in as fast as 37ms!



Submit a Comment

Your email address will not be published.

10 − nine =