Tutorial Install Turbo Pascal In Linux

in #utopian-io7 years ago

Turbo c ++ is a very widely used compiler for C and C ++ programming in most schools and colleges. Although there are many other compilers like Eclipse CPP, CInt etc. But there are still many schools and colleges that still use Turbo c ++ as compiler.
The reason why Turbo C ++ can not run under Ubuntu is because turbo C ++ is built for DOS. But there is a way to do it. The solution to this problem is to use DosBox, which is a DOS emulator for Linux O / S. DosBox has a very light repution and stable emulator for DOS based programs and is developed with the greatness of using it to emulate DOS games and programs on linux systems.
For more details, follow these steps:
dosbox.png
First of all please open Terinal then install first DOSBox Application in the following way:
$ sudo apt-get install dosbox
Once you have finished installing DosBox now you need a turbo C ++ installation file that you can download here.
After the download is complete then Unzip the turbo C ++ file zip the folder and place the file inside the home / directory-name-user in then a folder called setup and place the file earlier in the folder.
After the above steps are complete, now please open the DOSBox program that was already installed, biyasanya and in the game directory on the application, then type the following command to run the setup of turbo c ++.
mount c ~
c:
cd setup
install.exe
for more details you can see in the picture below.
Screenshot from 2013-10-03 21-59-52.png
turbo_c++_dosbox_ubuntu_installation_solancer (1).png
In the above step, please hit enter only
In the following step you select the destination drive as c and the source path as setup in the next window
turbo_c++_dosbox_ubuntu_installation_solancer.png
Please press C on the keyboard, so C appears as above, then press enter.
turbo_c++_dosbox_ubuntu_solancer_insatllation__folder.png
turbo_c++_dosbox_ubuntu_installation_solancer_install_done.png
In this section, please select Start Installation, then press enter, then wait until the installation is complete.
Well, now you have successfully installed DOSBox Program on your Ubuntu, then you can enter the following commands to run Turbo C ++ program.
c:
cd TC \ bin
tc.exe
turbo_c++_dosbox_ubuntu_solancer_1.png
now you can use turbo c ++ on your ubuntu ,,, !!!
May be useful,,



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
http://solancer.blogspot.com/2011/05/turbo-c-on-ubuntu-using-dosbox.html

Your contribution cannot be approved because it does not follow the Utopian Rules.
The Github you are using does not follow the latest utopian rules
You can contact us on Discord.
[utopian-moderator]

Coin Marketplace

STEEM 0.17
TRX 0.12
JST 0.028
BTC 56420.74
ETH 2938.55
USDT 1.00
SBD 2.22