How to Install Turbo C++ on Linux?
Last Updated :
13 May, 2022
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
Similar Reads
How to Install Visual C++ on Linux? Visual C++ is Software made by Microsoft Corporation. It is used to build desktop applications using the C and C++ languages. It was initially released in February 1993. In this article, we are going to learn how we can install Visual C++ in our Linux System. Installing Visual C++ on Linux: Step 1:
2 min read
How to Install Turbo C++ on MacOS? Turbo C++ is a single-language compiler and integrated development environment. It is free of charge and can be downloaded from any website. The first release of Turbo C++ was released in May 1990 version 1.0, running on MS-DOS computers. For the C++ programming language, Turbo C++ is an integrated
4 min read
How to Install Clang on Ubuntu Linux? Clang is a widely used open-source compiler front end for the C, C++, and Objective-C programming languages. It is known for its efficiency, modular architecture, and a strong focus on providing useful diagnostics for developers. Installing Clang on Ubuntu Linux involves using the package manager to
6 min read
How To Install Qt Creator On Linux? Qt Creator is a cross-platform C++, JavaScript, and QML integrated environment that simplifies GUI application development. It is currently available for Windows, macOS, and Linux. It is part of the SDK for the Qt GUI application development framework and uses the Qt API, which encapsulates host OS
2 min read
How to Install opencv in C++ on Linux? OpenCV stands for open-source Computer Vision Library. It is a library that provides infrastructure for computer vision and machine learning applications. It has more than 2500 Computer vision and machine learning algorithms. They can be used to track objects, recognize faces and objects, stitch ima
3 min read