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.


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