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:

  1. Good stuff! That made it easy!
    Shaun

    ReplyDelete
  2. Thank you so much from México.

    ReplyDelete
  3. How to install gcc offline without an internet connection ?

    ReplyDelete
  4. @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.

    ReplyDelete