Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 05-06-2011, 01:23 PM   #1
LQ Newbie
Registered: May 2009
Posts: 4

Rep: Reputation: 0
Debian 6 cant install gcc

Hello Linuxexperts,

I am a newbie but have great expectations. I have installed Debian 6 within Virtualbox and want to install nagios3.2.3. I have downloaded and updated I believe everything but when I go to execute the command to compile I am given an error that I do not have a C compiler. Where do I go to get a C Compiler for Debian 6? I have updated my source.list with new websites but they have turned out to be 404 error pages. If there are current webpages I can insert in the sources pages that would also be helpful. Thanks for the support!
Old 05-06-2011, 02:12 PM   #2
Registered: Aug 2007
Posts: 133

Rep: Reputation: 16
You use the apt-get command to install software on a Debian system. See here for a detailed apt-get howto:
1 members found this post helpful.
Old 05-06-2011, 03:03 PM   #3
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
Open a terminal window su to root then type apt-get install build-essential
1 members found this post helpful.
Old 05-10-2011, 09:25 AM   #4
LQ Newbie
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0

Thanks for your Help! the apt-get command is not second nature yet, but then you already knew that

Last edited by wmd12string; 05-10-2011 at 09:27 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install gcc when a current gcc is installed but not responding Nadishka Linux - Newbie 6 10-15-2009 04:33 PM
yum install gcc doesn't set the lastest gcc ver 4.3.x kim,jw Linux - Newbie 3 12-23-2008 12:51 AM
Debian apt-get requires cdrom for gcc install dwebst Linux - Software 1 05-04-2007 01:05 PM
Upgrading gcc-3.4.3 from gcc-3.3.5 on Debian v3.1 MKSrivastava Debian 2 11-21-2005 11:09 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 03:13 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration