Skip to content
Related Articles

Related Articles

Improve Article

How to Install Turbo C++ on Linux?

  • Difficulty Level : Basic
  • Last Updated : 17 Sep, 2021
Geek Week

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: Extract the zip file of Turbo C++ and you’ll get a setup folder.



Step 2: Move the extracted folder to your home folder

Step 3: Open the DOSBox emulator and use the below command:

mount c ~
C:
cd setup
install.exe

DOSBox window

Step 4: The Turbo C++ installation utility will appear as shown below, here hit Enter.

 Turbo C++ installation utility

Step 5: Click the “Start Installation” option and hit Enter.

installing Turbo c++ on linux

STEP 6: To run the Turbo C++, Open the DOSBOX and run the following commands:

mount c ~
C:
cd tc\bin
tc.exe

running turbo c++ on linux

Note: To run the Turbo C++, Every-time you have to repeat Step 6. 

Also, for Full-screen mode press Alt +Enter and press it again for window mode.

My Personal Notes arrow_drop_up
Recommended Articles
Page :