Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
The make utility is usually in /usr/bin.
If you did not install the development tools (or whatever your distribution calls them), you will need to do that. If you enter "cc --version" and hit the return key, you should get something much like:
Code:
cc --version
cc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you don't, you don't have the development tools installed and need to do that; check your system documentation.
jerome ~/Desktop$ cc --version
cc (GCC) 4.1.1 20060724 (prerelease) (4.1.1-3mdk)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Code:
jerome /usr/bin$ make
bash: make: command not found
Is there a package to install ?
Last edited by jeromeb748; 01-18-2007 at 03:37 PM.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
There may well be, now the question is where to find it. Do you know, for certain, that the development tools were installed (they don't by default in some distributions)? If not, you will need to install them from your distribution media, read through the instructions that came with your distribution. For example, if you're using SUSE, you would add the development tools with YaST (sorry, I do not know how to do that as I do not use SUSE or any other RPM-based distribution).
You might, as root, see if the make utility is installed in some odd place; find / -name 'make' -print will find it. If that doesn't turn anything up, it's not installed any you need to do that.
you're right. I installed a light distribution from a live CD (Mandriva One)
although I installed the "cc" compiler with a RPM package, the "make" comes with another package.
thank you for your help and kindness
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.