Search

How to Install GCC (c/c++) Compiler in Ubuntu Linux PDF Print E-mail
User Rating: / 1
PoorBest 
Linux / Unix - Ubuntu
Tuesday, 31 August 2010 08:01

 

 

The easiest method is to install the package build-essential.

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

Now do the following steps.

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


Now, you can compile C / C++ programs.

 



Add this page to your favorite Social Bookmarking websites
 
Last Updated on Saturday, 04 September 2010 17:23
 

Add comment


Security code
Refresh

We have 77 guests online