Try to install build-essential (at least, in Ubuntu repos, I don't know if other debian distros have it too), it will install everything you need.
$ sudo apt-get install build-essential
Also, if you get the message "unable to locate package ..", then you should try to do a search for it:
$ sudo aptitude search gcc
It should list all packages that contain that word (like grep). It's possible that the package is named something else, like gcc-4.7 or something like that.
mike_2000_17
21st Century Viking
3,136 posts since Jul 2010
Reputation Points: 2,050
Solved Threads: 625
Skill Endorsements: 41
apt-get update , Updates the "local database" of what is available (in the Terabtytes) on the clouds...
sudo apt-get install build-essential libc6-dev libbz2-dev check
Ubuntu lacks the above by default
naphets
Junior Poster in Training
65 posts since Feb 2013
Reputation Points: 0
Solved Threads: 4
Skill Endorsements: 0