Make Command Not Found

489,139

Solution 1

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

sudo apt-get install build-essential

Solution 2

Probably it is due command make is not present in system PATH, so remove and reinstall it.

sudo apt-get install --reinstall make

Solution 3

Run command:

sudo apt-get update

to update package lists. After this,

sudo apt-get install make
Share:
489,139

Related videos on Youtube

sighrobot
Author by

sighrobot

Updated on September 18, 2022

Comments

  • sighrobot
    sighrobot over 1 year

    I am having a problem that doesn't seem to be common based on searching various forums.

    I cannot run the Make command.

    Message:

    The program 'make' is currently not installed. You can install it by typing:
    sudo apt-get install make
    

    So do this:

    sudo apt-get install make
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    make is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
    

    But then when I try to run Make I get the same message. What's up?

    Edit: Ubuntu 12.04 64bit Desktop fresh install.

  • chovy
    chovy over 7 years
    also installs cc which was the next command missing.
  • DaReal
    DaReal over 2 years
    Question from 2012 and answer from 2016, so had to check, but indeed still solves it in 2022 on Ubuntu 18.04.