Knowledge Base
MilesWeb / Dedicated Server FAQ, VPS FAQ

-bash: make: command not found

Approx. read time : 2 min

Make utility is to determine automatically which pieces of a large program need to be recompiled. To prepare to use make, you must write a file called the makefile that describes the relationship among files in your program. In a program, typically the executable file is updated from object files, which are in turn made by compiling source files. The make program uses the makefile data base and the last-modification times of the files to decide which of the files need to be updated. For each of those files, it issues the commands recorded in the data base.

When trying to compile you receive any error as below.

-bash: make: command not found

This is because make command is not installed on your server. You will have to install it using a rpm OR yum.

# yum install make -y

It The above command will install make so that you can compile the modules/software manually.

You can compile modules, softwares, services manually on our Virtual Private Servers & Dedicated Servers.

Need help? We’re always here for you.