Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am planning to buy a (hopefully, inexpensive - I'm poorer than I used to be) Linux laptop to replace my Mac laptop. I'd like to be able to write & compile/interpret programs in C/C++, Python, SQL, and R. Does Ubuntu have/support all of these?

Might it be better to just buy a Windows laptop and then download Cygwin? I'd like to get Ubuntu, but I worry about cost.

share|improve this question
you could install ubuntu on mac, you don't have to buy anything, and you can install any programming language on it – Lynob Feb 14 '14 at 17:19

Ubuntu supports C/C++, Python, SQL, and R for sure. Don't worry about this.

For R:

 sudo apt-get install r-base     

For Python:

sudo apt-get install python

You can write the code (Geani for example) and compile with GCC. For C:

sudo apt-get install build-essential
sudo apt-get install gcc

For SQL:

sudo apt-get install mysql-server


share|improve this answer
It would be nice to have some more info, plus some links... – Wilf Feb 14 '14 at 17:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.