1. Install Eclipse.
sudo apt-get install eclipse
2. Then start Eclipse.
3. Help -> Install new software.
4. Click: Add
Name : CDT
Location : http://download.eclipse.org/tools/cdt/releases/galileo
5. In CDT Main feature, check:
- Eclipse C/C++ development tools. (Binary runtime and user documentation.)
6. In CDT optional feature:
- CDT GNU Toolchain Build Support.
- CDT GNU Toolchain Debug Support.
- CDT Utilities.
- Eclipse C/C++ Development Platform.
7. Restart Eclipse.
8. Perfect !!!