sq command not found

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

Introduction

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

sq: command not found

or when using sudo you get the following error message

sudo: sq: command not found

Solutions to sq: command not found

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

In Ubuntu sq is provided by sq package.

sq is:

sq is a command-line interface for OpenPGP, structured using subcommands and implemented in Rust.

Subcommands include: help, decrypt, encrypt, sign, verify, armor, dearmor, autocrypt, inspect, key, keyring, certify, packet.

It offers modern cryptographic algorithms by default, like Ed25519 and Curve25519.

The tool offers both message handling (encryption, decryption, signing, and verification), and key and certificate management (key generation, certificate maintenance, and certification), and is interoperable with other major OpenPGP implementations like GnuPG (gpg).

WARNING: sq does not have a stable CLI interface yet. Use with caution in scripts. This package contains the following binaries built from the Rust crate “sequoia-sq”:

  • sq

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

sudo apt-get -y install sq

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

You can also use apt command to install sq.

sudo apt -y install sq

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

sudo aptitude install sq

Summary

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