How to Install Apache CouchDB 2.3.0 in Linux?
Last Updated :
05 Oct, 2021
Apache CouchDB (CouchDB) is a NoSQL document database that collects and stores data in JSON-formatted documents. CouchDB, unlike relational databases, uses a schema-free data model, making record management simpler across a range of computing devices, mobile phones, and web browsers.
CouchDB was first published in 2005, and in 2008, it was designated as an Apache Software Foundation project. CouchDB is backed by an active group of developers who are constantly improving the platform with an emphasis on ease of use and web integration.
Installing the Apache CouchDB
Enabling the Apache CouchDB package repository
Run the following command to enable the repository.
$ sudo apt-get install -y gnupg ca-certificates

Install Certificate
$ echo "deb https://apache.bintray.com/couchdb-deb focal main" | sudo tee /etc/apt/sources.list.d/couchdb.list

Add Repository
Installing the dependencies
You can install the dependencies by running:
sudo apt-get –no-install-recommends -y install build-essential pkg-config erlang libicu-dev libmozjs185-dev libcurl4-openssl-dev

Installing dependencies
All necessary dependencies should now be installed.

Installing the Apache CouchDB packages
First, install the CouchDB repository key:
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8756C4F765C9AC3CB6B85D62379CE192D401AB61

Install Key
Then update the repository cache and install the package:
$ sudo apt update

Update the repository cache
$ sudo apt install -y couchdb

Installing Couchdb
You’ll be given the option to choose between standalone and cluster mode. Choose the stand-alone option.

Choose standalone
Then you’ll be prompted to enter the target IP address of the network interface where the installation will take place. We won’t change the default address, which is 127.0.0.1, for a single-server standalone installation.

Set bind-address
To create an admin account, you must first create a strong password. You will be able to continue using the admin party mode without having to build an admin account. This is not recommended since admin party mode is vulnerable to web access and therefore unreliable.

Set password
Verifying Apache CouchDB:
Using the curl command, verify that the installation went smoothly. This command will view important information about CouchDB’s status and compliance with the installation. On localhost:5984, the CouchDB server will be running.
$ sudo systemctl status couchdb

Verifying Apache CouchDB
Go to http://127.0.0.1:5984/_utils/ to access your control panel.

Login
Click the database icon located at the far left of the panel and hit the ‘Create Database’ button at the top-right of the screen.

Create database
CouchDB integrates seamlessly with almost all modern web applications, including those built for mobile devices, making it an excellent tool for reading, producing, editing, and changing database documents.
Similar Reads
How to Install Apache Pig in Linux?
Pig is a high-level platform or tool which is used to process large datasets. It provides a high-level of abstraction for processing over the MapReduce. It provides a high-level scripting language, known as Pig Latin which is used to develop the data analysis codes. In order to install Apache Pig, y
2 min read
How to Install Go in Alpine Linux?
Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write microservices, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time
1 min read
How to Install Darktable in Linux
Darktable is a free and open-source photographic workflow program and RAW developer. A photographer's virtual light table and darkroom. It keeps track of your digital negatives in a database, allows you to examine them on a zoomable light table, and allows you to develop raw photographs and improve
2 min read
How to Install and Configure Apache Subversion(SVN) In Linux?
Apache Subversion (SVN), is a version control system like Git. it is distributed under an open-source license. SVN was created by CollabNet Inc. but now it is developed as a project of the Apache Software Foundation. Downloading and Installing Apache SVN Apache Subversion(SVN) can be easily download
2 min read
How to Install SQL Client in Linux?
The installation of MySQL client on Linux systems allows plenty possibilities to connect, manage and interact with MySQL databases straight from terminal. Whether itâs for Developers, Database Administrators or System Users, efficiently querying and managing databases requires setting up MySQL clien
3 min read
How to Install python-gadfly in Linux?
In this article, we will be looking at the stepwise procedure to install the python-gadfly for Python in Linux. Gadfly is a relational database management system written in Python. Gadfly is a collection of Python modules that provides relational database functionality entirely implemented in Python
2 min read
How to Install Dash in Python on Linux?
Dash library in Python is a framework developed to create custom web analytic applications. Dash library has a custom user interface which makes it beat for building data analysis applications. Dash library is a cross-platformed library that works on various operating systems like Windows, Linux, an
1 min read
How to Install Scala in Linux?
Prerequisite: Introduction to Scala Before, we start with the process of Installing Scala on our System. We must have first-hand knowledge of What the Scala Language is and what it actually does? Scala is a general-purpose, high-level, multi-paradigm programming language. It is a pure object-oriente
3 min read
How to Install SQLmap in Linux?
SQL Injection Vulnerability can be detected and exploited through various automated tools. It is an open-source cyber security tool that introduces its most powerful SQLi detection engine. All the task of flaw detection and gaining access to the database is done in an automated way. This tool is so
3 min read
How To Install apache2-dev on Ubuntu
The Apache HTTP Server Project's purpose is to provide a standards-compliant open-source HTTP server that is secure, efficient, and extensible. As a result, it has long been the most used web server on the Internet. This package contains development headers and the apxs2 binary for the Apache 2 HTTP
3 min read