PDA

View Full Version : why 'make' command cannot find in ubuntu terminal



ankakusu
June 2nd, 2007, 03:56 PM
Hi,

I only write


$make


error messeage:


sh: make: command not found

WW
June 2nd, 2007, 04:01 PM
The make command is probably not installed. You can install it with synaptic (search for the package called make), or with the apt-get command:


$ sudo apt-get install make

If you are compiling C or C++ programs, you will also need to install the compiler and its libraries. You can get these (along with the make command) by installing the package build-essential:


$ sudo apt-get install build-essential

ankakusu
June 2nd, 2007, 04:08 PM
WW,

yes, I've searched the 'make' file in snaptic packet manager. But the there were no results in snaptic about 'make'.

what should be the problem?

thanks for help...

WW
June 2nd, 2007, 05:25 PM
The package make exists in all versions of ubuntu: http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=make&searchon=names&version=all&release=all

In Synaptic, click on the Search button, enter make and choose "Name" for the "Look in:" field. It will find all packages that have make somewhere in the package name. Scroll down the list; you should find a package called make.

Or, instead of using Synaptic, open up a terminal and install the package using the apt-get command.