31

I'm trying to install "yum" or "apt-get" into my system "ubuntu centOS". I did download the binary files for these two programs from the internet using the command wget. but after decompressing the files using the command "tar -zxvf "filename" ,then configuring the file "./configuring", and then when I want to use the command "make" I get the following error "make: not found".

I have searched for a method to download the "make" command but all the methods I found on the net use either the command "yum" or "apt-get" and I don't have any of them.

kadora
  • 325
  • 1
  • 5
  • 8
  • You have this slightly wrong. Make is not a program you need to download. it's a utility that comes integrated into nearly every distribution of linux. – Rodik Aug 13 '12 at 13:17
  • Wait, what? "ubuntu centOS"? Those are two different flavors with their own (often radically different) ways of doing things. It's almost certainly either one or the other, unless there's some freakish mashup of the two i haven't seen or heard of yet. Either way, this is a question about installing software, and seems more suited to [Super User](http://superuser.com). – cHao Aug 13 '12 at 13:28
  • 1
    Just for future reference, there are a couple of major flavors of Linux. I personally count 4: Debian (which includes Ubuntu), RedHat (which includes CentOS), Slackware (including SuSE), and Gentoo. (Some would argue with Gentoo being "major", but IMO it's popular enough to earn a place, and it's definitely its own flavor.) Most of the big distros are derived (indirectly or indirectly) from one of those main lines; the ones that aren't are typically specialized or indie-type stuff. And the main flavors are different enough that you'll typically only derive from one of them. – cHao Aug 15 '12 at 00:23

1 Answers1

65

I have no idea what linux distribution "ubuntu centOS" is. Ubuntu and CentOS are two different distributions.

To answer the question in the header: To install make in ubuntu you have to install build-essentials

sudo apt-get install build-essential
Jack Kelly
  • 18,264
  • 2
  • 56
  • 81
steffenhk
  • 754
  • 5
  • 4
  • 1
    Although in Ubuntu, if you said "make" and `make` didn't exist (and you haven't modified the main bash profile, which someone who doesn't know how to install `make` almost certainly wouldn't know how to do), it'd almost certainly tell you what package to install to get it anyway... – cHao Aug 13 '12 at 13:34
  • ooh!, I thought centOS is an Ubuntu distribution, it seems I was wrong ^^'. The problem is that I can't use the command "apt-get" nor the command "yum". It gives me an error "apt-get: not found". Thankx anyway. – kadora Aug 13 '12 at 13:39
  • 1
    @kadora: If it's CentOS, then yeah -- apt-get isn't the normal package manager. You'd use yum, and probably `yum install make` would do it. – cHao Aug 14 '12 at 23:45
  • 1
    `apt-get -y install make` worked for me in a Dockerfile. – Asclepius Oct 11 '20 at 18:16