I'm trying to install Dev C ++ on ubuntu but I have not found a way to do it, the instructions thrown by several blogs or forums are wrong.
I'm trying to install Dev C ++ on ubuntu but I have not found a way to do it, the instructions thrown by several blogs or forums are wrong.
Dev-C ++ is an IDE designed for Windows, so if you want to install it in Linux, you basically have two options: either you install Windows in a virtual machine, which I think is not what you're looking for; or you can install WineHQ, which is a re-implementation of Windows system calls, so you can run Windows applications on Linux without a virtual machine.
Depending on your distribution, you can install Wine from the terminal with, for example apt install wine
, or with apt-get
instead of apt
, or with dnf
for Fedora.
However, the wine packages that come in many distributions are very old, so the best option is to go to their page and download their latest version (the last stable is 3.0) or compile their source code in your machine.
I leave a link to your website .
After installation, you can install a lot of Windows applications in Linux, although some do not work, so good luck.
On the other hand, I would not recommend installing Dev-C ++ on Linux, because you do not need it, there are much better IDEs, and even your distribution comes with a compiler (gcc) better than Dev-C ++ (formerly MinGW, now TDM), which I repeat, is made for Windows.
I recommend avoiding Dev C ++, since it is obsolete and its version for Linux has been in an alpha version for 2 years.
Even so, you can always use a variety of IDEs and text editors to program in C
CLION: link
Eclipse: link
NetBeans: link
Vim: sudo apt-get install vim
And do not forget to install a compiler, although I think that GCC comes by default in ubuntu, you can verify it by typing in the console gcc -v
or you can install clang
sudo apt-get install clang