lli-child-target-9 command not found

In this troubleshooting guide we learn how to fix lli-child-target-9 command not found error message

Introduction

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

lli-child-target-9: command not found

or when using sudo you get the following error message

sudo: lli-child-target-9: command not found

Solutions to lli-child-target-9: command not found

How To Fix lli-child-target-9: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu lli-child-target-9 is provided by llvm-9-runtime package.

llvm-9-runtime is:

LLVM is a collection of libraries and tools that make it easy to build compilers, optimizers, just-in-time code generators, and many other compiler-related programs.

LLVM uses a single, language-independent virtual instruction set both as an offline code representation (to communicate code between compiler phases and to run-time systems) and as the compiler internal representation (to analyze and transform programs). This persistent code representation allows a common set of sophisticated compiler techniques to be applied at compile-time, link-time, install-time, run-time, or “idle-time” (between program runs).

This package provides the minimal required to execute programs in LLVM format.

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

sudo apt-get -y install llvm-9-runtime

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

You can also use apt command to install llvm-9-runtime.

sudo apt -y install llvm-9-runtime

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

sudo aptitude install llvm-9-runtime

Summary

In this tutorial we learn how to fix lli-child-target-9 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.