installing gcc in ubuntu

as i m beginner can anyone tell how to install gc on ubuntu OS.....
Linux distros are usually shipped with gcc and g++, just open the terminal and type gcc -v. If (by some crazy settings) you found that there's no gcc, just use the default add/remove programs e.g Synaptic to get your gcc (and get CodeBlocks too!)
by some crazy settings


Ubuntu does ship with gcc- but as a package on the CD (build-essential), it's not installed by default.
Topic archived. No new replies allowed.