jsoo_link command not found

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

Introduction

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

jsoo_link: command not found

or when using sudo you get the following error message

sudo: jsoo_link: command not found

In Ubuntu jsoo_link is provided by js-of-ocaml package.

js-of-ocaml is:

Js_of_ocaml is a compiler of OCaml bytecode to JavaScript. It makes it possible to run OCaml programs in a web browser. Its key features are the following:

  • the whole language, and most of the standard library are supported;
  • the generated code can be used with any web server and browser;
  • you can use a standard installation of OCaml to compile your programs. In particular, you do not have to recompile a library to use it with Js_of_ocaml. You just have to link your program with a specific library to interface with the browser APIs.

This package contains the compiler itself.

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

sudo apt-get -y install js-of-ocaml

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

You can also use apt command to install js-of-ocaml.

sudo apt -y install js-of-ocaml

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

sudo aptitude install js-of-ocaml

Summary

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