Tuesday, August 09, 2011

Install gcc in Ubuntu

The Linux sysadmin must build from sources from time to time. It makes sense then to have the C environment ready. In Ubuntu all you need to do is to follow the below commands:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
gcc --version

6 comments:

Oscar Goldman said...

Handy. Thanks.

shaungo said...

Good stuff! That made it easy!
Shaun

Wichocop said...

Thank you so much from México.

Unknown said...

THANKS BRO!!!

Rahul said...

How to install gcc offline without an internet connection ?

Nestor Urquiza said...

@Rahul I can't picture managing servers without an internet connection nowadays. This should be possible though but you will probably need to ask the question in Ubuntu forums. Probably Ubuntu distro comes already with the packages in the ISO. Not that I have tried that before. Last time I did stuff just from CD was with Solaris back in 2000.

Followers