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 a C/C++ developer. I would like to run my .exe programs on my computer (which only has Ubuntu on it). I would like to know if there are any C/C++ Runtime Enviroments out there.

share|improve this question
    
Question on unstable alpha releases are off topic according to our faq. –  Takkat Feb 27 '13 at 19:37
1  
I removed the 13.04 references because it is irrelevant for the question. I think this should not be closed as off topic. –  Eric Carvalho Feb 28 '13 at 0:27

2 Answers 2

This has nothing to do with C++ at all. Windows and linux binaries are different and you wont be able to run a .exe natively. There are compatibility libraries that can run most windows programs but at the cost of some performance. The most widely used one is wine.

share|improve this answer

Install the build-essential package using the following command:

sudo apt-get install build-essential

You can then use 'g++' to compile your source code so it can be run on that machine. If you have a Makefile you can use command 'make' which is also installed by the above package.

share|improve this answer
    
I have codeblocks so all I want to do is run executable files from linux –  user1978786 Feb 27 '13 at 20:47
    
Like Wolfer said to run an .exe file on ubuntu you would have to install wine or an equivalent. However if you have the source code it makes more sense to just compile the code on the linux machine to get a native binary for linux/unix platform. –  cjackson Feb 28 '13 at 5:14

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.