Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 –  Fischer Feb 14 at 17:19
1  
add comment

1 Answer 1

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

Docs:

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

Your Answer

 
discard

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.