Saturday 4 April 2009

How to Install GCC (c/c++) Compiler in Ubuntu Linux

Install package called build-essential is the best way

build-essential contains a list of packages which are essential for building Ubuntu packages including gcc compiler, make and other required tools.


$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install build-essential
$ gcc -v
$ make -v

Now, you should able to compile software using C / C++ compilers.

No comments: