Unix/Linux Guru and FOSS supporter

Install Apache couchDB on Ubuntu 21.04

CouchDB is one of the NoSQL Databases by Apache Software Foundation. CouchDB is a document-oriented database and within each document fields are stored as key-value maps. Fields can be either a simple key/value pair, list, or map. In this tutorial we will learn how to Install Apache couchDB on Ubuntu 21.04.

First, Update your system and install dependencies:

apt update && apt install -y curl apt-transport-https gnupg

Now, Enable couchDB package repository using the following commands:

sudo apt update && sudo apt install -y curl apt-transport-https gnupg
curl | gpg --dearmor | sudo tee /usr/share/keyrings/couchdb-archive-keyring.gpg >/dev/null 2>&1
source /etc/os-release
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] ${VERSION_CODENAME} main" \
    | sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null 

Apache couchDB on Ubuntu

We will now Install Apache couchDB on Ubuntu 21.04 using the following commands:

apt update -y

Now Install Apache couchDB using the following command:

apt install couchdb

After running the above command you will see a screen asking you the installation type please click on standalone.

Now a screen will appear for IP address as the default IP is we will go with that IP as well if you want to change IP you can mention your IP.

Last, The installation wizard will ask you to set password for admin user of couchDB. Type your password.

Now couchDB is installed. To verify the installation use the following command:


If the installation is successful and correct you will get the following output:

      "name":"The Apache Software Foundation"

Access your couchDB Web GUI by typing in your browser.

Apache couchDB is successfully installed in your system. You can now use it according to your need.


Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook