How to Install Turbo C++ on Linux?
In this article, we will look into how to install Turbo C++ on Linux. Turbo C++ is the free and Open-Source Software, it is a development tool for writing programs in the C/C++ language. Turbo C++ is a compiler and IDE (Integrated development environment) originally from Borland.
Prerequisites:
To run Turbo C++ in Linux System you must have the following:
- Turbo C++ Setup
- DOSBox Emulator
Note: If you have it installed on your system, just go to Linux Software Center and search for DOSBox and install the emulator or use the below command in the terminal:
sudo apt-get install dosbox
Installing Turbo C++ on Linux:
Follow the below steps to install Turbo C++ on Linux:
Step 1: Download and Extract the zip file of Turbo C++.
Step 2: Move the extracted folder to your home folder
Step 3: Go to the Dosbox configuration file and change settings. Use the following command –
satyajit@satyajit:~$ gedit .dosbox/dosbox-0.74-3.conf
Then change the following key values on that configuration file –
fullscreen=true fulldouble=true fullresolution=1920x1080 windowresolution=1920x1080 output=opengl
Set the fullresolution and windowresolution value the same as your screen resolution.

Then at the end of the file add the following lines –
mount C: ~ C: cd TURBOC3/bin tc.exe

Now to run Turbo C++ go to the terminal and write –
dosbox
It will start Turbo C++

Press Alt + Enter to switch between full screen and window mode.
Press Ctrl + F10 to release and lock the mouse on DOSBox
Please Login to comment...