How to Install Apache CouchDB on Ubuntu 18.04 Bionic Beaver

Install Apache CouchDB on Ubuntu 18.04

In this article, we will have explained the necessary steps to install and configure Apache CouchDB on Ubuntu 18.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Apache CouchDB is a free software resource which allows us to access data from where necessary by defining the Coach Replication Protocol, which was implemented by a variety of projects and products that cover all IT environments, from globally distributed server clusters, or mobile phones to web browsers.

Install Apache CouchDB on Ubuntu

Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.

sudo apt update
sudo apt upgrade

Step 2. Install Apache CouchDB on Ubuntu 18.04.

First, Enabling CouchDB repository:

curl -L | sudo apt-key add -
echo "deb bionic main" | sudo tee -a /etc/apt/sources.list

Now that the repository is enabled update the packages list and install CouchDB:

sudo apt update
sudo apt install couchdb

After the installation finishes, we will start the service and enable it to run at the start of the system:

sudo systemctl start couchdb
sudo systemctl enable couchdb

To verify whether the installation has completed successfully run the following curl command which will print the CouchDB database information in JSON format:



      "name":"The Apache Software Foundation"

If you prefer GUI, you can access the CouchDB web-based interface, Fauxton at:

That’s all you need to do to install CouchDB on Ubuntu 18.04 LTS. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.