sequel command not found

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

Introduction

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

sequel: command not found

or when using sudo you get the following error message

sudo: sequel: command not found

Solutions to sequel: command not found

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

In Ubuntu sequel is provided by ruby-sequel package.

ruby-sequel is:

Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas.

Sequel includes a comprehensive ORM layer for mapping records to Ruby objects and handling associated records.

Sequel supports advanced database features such as prepared statements, bound variables, stored procedures, savepoints, two-phase commit, transaction isolation, master/slave configurations, and database sharding.

Sequel currently has adapters for ADO, Amalgalite, DataObjects, DB2, DBI, Firebird, IBM_DB, Informix, JDBC, MySQL, Mysql2, ODBC, OpenBase, Oracle, PostgreSQL, SQLite3, Swift, and TinyTDS.

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

sudo apt-get -y install ruby-sequel

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

You can also use apt command to install ruby-sequel.

sudo apt -y install ruby-sequel

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

sudo aptitude install ruby-sequel

Summary

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