xx-sql-schemas command not found

In this troubleshooting guide we learn how to fix xx-sql-schemas command not found error message

Introduction

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

xx-sql-schemas: command not found

or when using sudo you get the following error message

sudo: xx-sql-schemas: command not found

Solutions to xx-sql-schemas: command not found

How To Fix xx-sql-schemas: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu xx-sql-schemas is provided by xxdiff-scripts package.

xxdiff-scripts is:

xxdiff is a powerful tool for viewing the differences between two or three files, or two directories, and can be used to produce a merged version. The texts of the two or three files are presented side by side with their differences highlighted with colors for easy identification.

This package provides a number of scripts that are used to perform a variety of tasks that all involve getting user verification and feedback using the xxdiff graphical differences viewer.

For example, there are scripts to perform global renaming of strings within a large codebase, where each transformed file is viewed by the user with an xxdiff, accepted, rejected or merged changes written over the original file (making backups is supported). Also, this infrastructure is mostly provided as modules, in order to allow users to write file transformations in Python and to leverage this interactive confirmation process.

There are also scripts that visualize diffs for a number of SCM systems, like CVS, Subversion, etc. This package was born after a number of these useful scripts had sprouted, and it became apparent that sharing the common code for the scripts would be a great advantage to tools writers.

See documentation for a full list of the scripts and their role: https://furius.ca/xxdiff/doc/xxdiff-scripts.html

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

sudo apt-get -y install xxdiff-scripts

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

You can also use apt command to install xxdiff-scripts.

sudo apt -y install xxdiff-scripts

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

sudo aptitude install xxdiff-scripts

Summary

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