make-sqlcl-package command not found

In this troubleshooting guide we learn how to fix make-sqlcl-package command not found error message

Introduction

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

make-sqlcl-package: command not found

or when using sudo you get the following error message

sudo: make-sqlcl-package: command not found

Solutions to make-sqlcl-package: command not found

How To Fix make-sqlcl-package: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu make-sqlcl-package is provided by sqlcl-package package.

sqlcl-package is:

This utility makes it possible to build a Debian package from Oracle SQL Developer Command-Line (SQLcl). The Oracle SQL Developer program is governed by the copyright holder (Oracle USA, Inc.), so you may be limited as to what you can do with the resulting package (i.e. no redistribution, etc). This utility will simply help you create the Debian package, it is your responsibility to use the resulting package accordingly with the OTN license, a copy of which is included in the created package, that you must agree on when downloading the source.

This utility will require you to download the architecture independent archive from http://www.oracle.com/technetwork/developer-tools/sqlcl/overview, identified as “Oracle SQL Developer Command-Line for All Platforms”, to create the Debian package from.

Due to a conflicting name with content of package “parallel” the upstream binary “sql” will be renamed. Multiple versions can coexist so “sql.[upstream version].standalone” will invoke a specific version of Oracle SQL Developer Command-Line, “sql.[upstram version]” will invoke either the standalone or bundled Oracle SQL Developer Command-Line version (in this order), while “sqlcl” (the recommended way) and “sqlcl.standalone” take advantage of Debian’s alternatives system and, when left in auto mode, will always invoke the highest version installed.

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

sudo apt-get -y install sqlcl-package

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

You can also use apt command to install sqlcl-package.

sudo apt -y install sqlcl-package

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

sudo aptitude install sqlcl-package

Summary

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