I have just installed ubuntu yesterday and I realized that gcc was not working on the terminal shell.

I am used to red hat linux and didn't really understand the idea of repositories.

Also I don't have a network connection to that computer.

Can someone show me how to install gcc ( and also g++, gcj etc..) ?

Thank you all !!!