prelink.bin command not found

In this troubleshooting guide we learn how to fix prelink.bin command not found error message

Introduction

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

prelink.bin: command not found

or when using sudo you get the following error message

sudo: prelink.bin: command not found

Solutions to prelink.bin: command not found

How To Fix prelink.bin: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu prelink.bin is provided by prelink package.

prelink is:

The prelink package contains a utility which modifies ELF shared libraries and executables, so that far fewer relocations need to be resolved at runtime and thus programs come up faster.

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

sudo apt-get -y install prelink

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

You can also use apt command to install prelink.

sudo apt -y install prelink

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

sudo aptitude install prelink

Summary

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