dqlite command not found

In this troubleshooting guide we learn how to fix dqlite command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

dqlite: command not found

or when using sudo you get the following error message

sudo: dqlite: command not found

Solutions to dqlite: command not found

How To Fix dqlite: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dqlite is provided by go-dqlite package.

go-dqlite is:

Go-dqlite is a pure-Go dqlite client implementation. 2 binaries are provided:

  • dqlite-demo, a demo dqlite application, which exposes a simple key/value store over an HTTP API,
  • dqlite, a basic SQLite-like dqlite shell which supports normal SQL queries plus the sp ecial .cluster and .leader commands to inspect the cluster members and the current leader.

To fix this problem, we can install more using the command below.

sudo apt-get -y install go-dqlite

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install go-dqlite.

sudo apt -y install go-dqlite

Or if you have aptitude installed you can use the following command.

sudo aptitude install go-dqlite

Summary

In this tutorial we learn how to fix dqlite command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.