The Wayback Machine - https://web.archive.org/web/20240118175854/https://www.geeksforgeeks.org/how-to-install-turbo-c-on-linux/
Open In App
Related Articles

How to Install Turbo C++ on Linux?

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report

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

Learn to code easily with our course Coding for Everyone. This course is accessible and designed for everyone, even if you're new to coding. Start today and join millions on a journey to improve your skills!

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Commit to GfG's Three-90 Challenge! Purchase a course, complete 90% in 90 days, and save 90% cost click here to explore.
Last Updated : 13 May, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads
Complete Tutorials