M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Recent Posts
Archives
- January 2016 (2)
- October 2014 (2)
- September 2014 (15)
Live and Learn
To install the gcc and g++ compilers, you will need the build-essential package.
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 install build-essential
Install the manpages for c and c++ development:
$ sudo apt-get install manpages-dev
Check the version of gcc and make:
$ gcc -v ... gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
$ make -v GNU Make 3.81 ...
Now you should be able to compile software using C / C++ compilers.
Recent Comments