Installing gcc

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
kkonline
Forum Contributor
Posts: 251
Joined: Thu Aug 16, 2007 12:54 am

Installing gcc

Post by kkonline »

hi i have just shifted from shared hosting to an unmanaged vps server.

I want to install apache but then i came to know it requires make command which comes after installing gcc. So I have downloaded the tar.gz file and extracted it. But not able to figure out how to install the gccand make it working so that i can install apache

/tmp/XXXXyX9NP8/gcc-4.3.1 is the extracted path to the package

Code: Select all

debian:/tmp/XXXXyX9NP8/gcc-4.3.1# configure
-bash: configure: command not found
have tried

Code: Select all

aptitude install gcc
Reading package lists... Done
Building dependency tree... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done         
Building tag database... Done    
The following packages have been kept back:
  openssh-client openssh-server 
0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
but still "make" gives me command not found

Please help me install gcc and aparently apache on debian
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Installing gcc

Post by VladSun »

Code: Select all

sudo apt-get install make
?
There are 10 types of people in this world, those who understand binary and those who don't
kkonline
Forum Contributor
Posts: 251
Joined: Thu Aug 16, 2007 12:54 am

Re: Installing gcc

Post by kkonline »

VladSun wrote:

Code: Select all

sudo apt-get install make
?
Thanks , it worked
Post Reply