clojure1.10 command not found

In this troubleshooting guide we learn how to fix clojure1.10 command not found error message

Introduction

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

clojure1.10: command not found

or when using sudo you get the following error message

sudo: clojure1.10: command not found

Solutions to clojure1.10: command not found

How To Fix clojure1.10: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu clojure1.10 is provided by clojure package.

clojure is:

Clojure is a dynamic programming language that targets the Java Virtual Machine. It is designed to be a general-purpose language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming. Clojure is a compiled language - it compiles directly to JVM bytecode, yet remains completely dynamic. Every feature supported by Clojure is supported at runtime. Clojure provides easy access to the Java frameworks, with optional type hints and type inference, to ensure that calls to Java can avoid reflection.

Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy and a powerful macro system. Clojure is predominantly a functional programming language, and features a rich set of immutable, persistent data structures. When mutable state is needed, Clojure offers a software transactional memory system and reactive Agent system that ensure clean, correct, multithreaded designs.

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

sudo apt-get -y install clojure

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

You can also use apt command to install clojure.

sudo apt -y install clojure

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

sudo aptitude install clojure

Summary

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