LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-04-2013, 03:28 PM   #1
StefanP
Member
 
Registered: Apr 2007
Distribution: Debian 4
Posts: 140

Rep: Reputation: 15
how to install a C compiler from the internet not from DVD installer


I have tried the following to install a C compiler from the internet (my DVD drive not working anymore):

apt-get install gcc

it didn't work:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gcc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc' has no installation candidate

What else should I try?
 
Old 03-04-2013, 03:36 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Code:
apt-get install build-essential
 
1 members found this post helpful.
Old 03-04-2013, 04:15 PM   #3
StefanP
Member
 
Registered: Apr 2007
Distribution: Debian 4
Posts: 140

Original Poster
Rep: Reputation: 15
Thank you
 
  


Reply


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
cd dvd doesn't work/how to install linux mint from the internet warrington Linux - Newbie 4 02-17-2012 07:43 AM
upgrade 10 to 12 using dvd installer chriselwell Linux - Software 10 05-27-2010 11:38 PM
Install Package from Fedora DVD without Internet linuxy2 Fedora 5 10-10-2009 07:45 AM
So I need a C compiler to install a c compiler. Makes sense. vic305 Linux - Software 8 12-17-2008 11:30 PM
Slackware DVD iso installer? Anthony1uk Slackware - Installation 3 10-19-2005 03:57 AM


All times are GMT -5. The time now is 04:29 AM.

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