Run this command to install make and all the packages needed to build your code.

sudo apt-get install build-essential
Answer from JorelC on askubuntu.com
Discussions

go - MINGW64 "make build" error: "bash: make: command not found" - Stack Overflow
I am working on Windows 10. I want to run a "make build" in MINGW64 but following error comes up: $ make build bash: make: command not found I want to build Glide for Golang I tried following: $... More on stackoverflow.com
🌐 stackoverflow.com
Bash doesn't recognize the make command?
You need to install the tools needed to compile the project, I can't remember the names of the packages off the top of my head but you should be able to find them More on reddit.com
🌐 r/linuxquestions
4
3
August 26, 2023
Ubuntu: make error: command not found - Unix & Linux Stack Exchange
I have the following makefile, I didn't write myself it was part of an installation of TAU profiler. I ran the make command as suggested by the installation steps: make CC=tau_cc.sh Then I got the More on unix.stackexchange.com
🌐 unix.stackexchange.com
May 17, 2021
Ubuntu 'command-not-found' Tool Could Trick Users into Installing Rogue Packages
The real problem is allowing anyone to post anything to the Snap store. There is tons of crap there. More on reddit.com
🌐 r/Ubuntu
10
2
February 14, 2024
🌐
Delft Stack
delftstack.com › home › howto › linux › bash make command not found error
How to Solve Make Command Not Found Error in Linux Bash | Delft Stack
March 14, 2025 - Why does the make command not found error occur? This error occurs when the make utility is not installed on your system or is not included in your system’s PATH. How can I check if make is installed on my system? You can check if make is installed by typing which make or make --version in the terminal. Can I install make using a different package manager? Yes, the installation command may vary based on your Linux distribution.
🌐
How-To Geek
howtogeek.com › home › linux › how to fix "make: command not found" error in ubuntu
How to Fix "make: command not found" Error in Ubuntu
May 5, 2023 - As you can see, the find command has found three files that Bash uses as part of its "Tab" command-line completions, and the binary executable. But something has gone very wrong with this installation, and the make binary has been placed in the "/etc/" directory. We'll move that to where it should be, and make should start to work. ... Now if we try to use the make command, any messages we get should come from make, and not from Bash.
🌐
LinuxQuestions.org
linuxquestions.org › questions › linux-newbie-8 › bash-make-command-not-found-278030
bash: make: command not found
i'm trying to install bzip2 on my debian machine. when I type the line make -f Makefile-libbz2_so in a root terminal window, I get the response bash:
🌐
Power Sysadmin Blog
poweradm.com › home › make command not found on linux
Make Command Not Found on Linux - Power Sysadmin Blog
March 23, 2023 - You can install it by typing: sudo apt install make · First of all, make sure that the make command is installed on your Linux distribution and that the path to its directory is included in the PATH environment variable.
🌐
Cyfuture Cloud
cyfuture.cloud › kb › general › bash-make-command-not-found
Bash Make Command Not Found
To resolve the "-bash: 1st: if not make: command not found" error you can follow these steps below: ... - Installing the make command on linux distributions (e.g., ubuntu, debian, centos) is possible via the package manager:
Find elsewhere
🌐
MakeUseOf
makeuseof.com › home › linux › how to fix the "make: command not found" error in ubuntu
How to Fix the "make: command not found" Error in Ubuntu
March 31, 2023 - To fix the make command not found error, you should start by updating your system with this one-liner: ... If the aforementioned command doesn't work, download and install the build-essential package, as follows: ... build-essential consists of all the necessary packages required for building and compiling Linux packages from the source.
🌐
It's FOSS
itsfoss.com › make-command-not-found-ubuntu
Make Command Not Found? Here's How to Fix it
January 11, 2023 - The program 'make' is currently not installed. You can install it by typing: sudo apt install make · One of the reasons you see the bash: command not found error is because the command is not installed on the system.
🌐
Go4hosting
go4hosting.in › knowledgebase › general › bash-make-command-not-found-troubleshooting-guide
Bash Make Command Not Found: Troubleshooting Guide
However, encountering the "bash: make: command not found" error indicates that the make utility is not installed or not configured correctly on your system.
🌐
Reddit
reddit.com › r/linuxquestions › bash doesn't recognize the make command?
r/linuxquestions on Reddit: Bash doesn't recognize the make command?
August 26, 2023 -

Hi all. I'm trying to install one of those local A.i programs. Using Manjaro KDE. I have the install command from github, but here is the output from the terminal:

[jersten@LinuxRig ~]$ git clone https://github.com/fredi-python/llama.cpp.git && cd llama.cpp && make -j && cd models && wget -c https://huggingface.co/CRD716/ggml-vicuna-1.1-quantized/resolve/main/ggml-vicuna-13B-1.1-q5_1.bin

Cloning into 'llama.cpp'...

remote: Enumerating objects: 3411, done.

remote: Counting objects: 100% (3411/3411), done.

remote: Compressing objects: 100% (1107/1107), done.

remote: Total 3411 (delta 2303), reused 3309 (delta 2267), pack-reused 0

Receiving objects: 100% (3411/3411), 3.05 MiB | 5.25 MiB/s, done.

Resolving deltas: 100% (2303/2303), done.

bash: make: command not found

[jersten@LinuxRig llama.cpp]$

Looks like everything was going well for awhile there. Any idea why I couldn't complete the installation? Thank you

🌐
FAQforge
faqforge.com › home › fix the “make: command not found” error in ubuntu
Fix the "make: command not found" Error in Ubuntu
June 12, 2022 - The output shows that the default directory of the make common command does not exist on your system. It means that the make is not present in your system. To further ensure this, run the following command.
🌐
Stack Exchange
unix.stackexchange.com › questions › 650087 › ubuntu-make-error-command-not-found
Ubuntu: make error: command not found - Unix & Linux Stack Exchange
May 17, 2021 - Well you'll need to find some way of assigning values to the variables that aren't assigned inside the Makefile - if you don't have the appropriate modulefile then you can do so on the make command line in the same way that you did for CC ex. ...
🌐
GeeksforGeeks
geeksforgeeks.org › linux-unix › how-to-fix-bash-command-not-found-error-in-linux
How to fix Bash: Command Not Found Error in Linux - GeeksforGeeks
September 17, 2024 - Learn how to fix the "command not found" error in Linux with solutions like installing missing packages, modifying the PATH variable, and correcting typos.
🌐
LinuxConfig
linuxconfig.org › home › command ‘make’ not found on ubuntu 20.04 focal fossa
Command 'make' not found on Ubuntu 20.04 Focal Fossa
May 8, 2020 - Command 'make' not found, but can be installed with: OR bash: /usr/bin/make: No such file or directory