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?