Categories: Coding Programming

How To Setup A C++ Development Environment In Ubuntu Linux

Compile and run C++ programs in Ubuntu. Here is the complete guide to set up a C++ development environment with Eclipse in Ubuntu Linux.

Every programmer (mostly all) is always directed to use linux systems as they are more flexible for development. I too personally believe that but problem is that in the beginning when we start coding like learning C/C++ then generally we go for any C/C++ compilers most of the times it is Turbo C or Turbo C++. If you are using any windows machine then I am sure either you might be using Turbo C or CodeBlocks. If you use CodeBlocks then really you are on the right way.

I would suggest you to go through this link for why you must not use Turbo C. Click Here

Honestly I use Ubuntu and believe me its love!!! 🙂 . So as part of curriculum I have to code in C and C++ in my coming semesters. When I used to use Windows I used to code in CodeBlocks. But since I have switched to Ubuntu I didn’t know how to compile C codes in Ubuntu. I googled, I went through stack-overflow and  realized that I was a kind of asking for 2$ from Bill Gates. Actually it is the source or simply it is build on it (i.e. C). I realized that I can compile it in terminal only. And yeah!! my love for Ubuntu increased 1000 times. As usual you need a text editor like Gedit or nano or so which are very basics. And can’t be categorized as IDE’s.

Today I was going through this blogs IT’S FOSS believe me I fall in love with this linux blog since I first read its post. So I get a structured procedure how can we integrate our system (linux) so that we may code in C or C++.

In this tutorial the author has given an example with Eclipse but I would suggest you some awesome compilers like Visual Studio Code. I would suggest you to use this perticular IDE because it is awesome. Earlier I used to have Sublime Text and ATOM but now visual studio code has replaced all my IDE’s.

Guys! I you liked this post please comment below. 🙂

PS: While compiling C codes use gcc instead of g++ all remains the same.

Source: How To Setup A C++ Development Environment In Ubuntu Linux

Kuldeep Pisda

A web-developer, passionate blogger and an Entrepreneur from heart.

Comments are closed.

Share
Published by
Kuldeep Pisda

Recent Posts

Stay Updated With The Technology Trends Around You

Photo By: https://unsplash.com/@aggergakker Either a huge admirer or a technophobe, one can simply not deny the fact that it is the… Read More

15 hours ago

Getting and giving the right help

A caterpillar lives in a cocoon. If it is told, 'There is a butterfly that flies wherever it wishes. It… Read More

3 days ago

Blockchain Technology Job Market and Salary Trends so Far

There were close to 2,000 blockchain technology-related job openings during the month of August in the United States alone. This… Read More

3 weeks ago

How Social Media Marketing Campaigns Help Companies To Expand Their Business

How Social Media Marketing Campaigns Help Companies To Expand Their Business - Blog Cover Read More

2 months ago

Blockchain more than Speculations

Many times it happens when a new technology is introduced to the people the eyes are shifted from the advantages… Read More

2 months ago

Best Ways to Make Your Presence Worldwide

In the midst of the fast-paced tech world, celebrities, public figures, and businesses have started making efforts to build a… Read More

3 months ago