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.

Step 2. Install Apache CouchDB on Ubuntu 18.04.

First, Enabling CouchDB repository:

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

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

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

Result:

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.