How to install Dev-C++ on Ubuntu?

Anupama Dikkumbura
2 min readOct 11, 2020

--

C++ is a very powerful and popular high level programming language. And also it is an Object Oriented Programming(OOP) language. Therefore C++ is used in many aspects in the IT world. Game development, GUI based application development, Operating system development are some of those aspects.

Dev-C++ is a widely used IDE for C++ development. Even Though it has a properly developed version for Windows OS, Ubuntu(Linux) version is not there for easy installation. But there’s a solution. Go through the rest of the article and you will find out how.

Steps:

  1. Installing “Wine”. Use the following command in terminal to install wine to your Ubuntu OS

“ sudo apt-get install wine “

**if not installed in the first time just run the code for the second time. It should work.

Then confirm installation by typing “wine” in the terminal. If “wine” has been installed successfully you’ll get a message as follows.

Usage: wine PROGRAM [ARGUMENTS…] Run the specified program

wine –help Display this help and exit

wine –version Output version information and exit

2. Download the Dev-C++ portable version from the following link.

https://sourceforge.net/projects/orwelldevcpp/files/Portable%20Releases/Dev-Cpp%205.11%20TDM-GCC%20x64%204.9.2%20Portable.7z/download

3. Go to the downloaded file and extract it.

4. Go into the extracted file where devcpp.exe exists.

5. Right click and open the terminal in the same directory where devcpp.exe exists

6. Then run the following command.

“ wine devcpp.exe “

7. Done. Now you’ll be able to run Dev-C + + the same as in windows.

Now the program should work properly. If not try re-installing wine or put a comment below.

--

--

Anupama Dikkumbura
Anupama Dikkumbura

Responses (4)