LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-20-2009, 01:56 AM   #1
techieg
LQ Newbie
 
Registered: Nov 2006
Posts: 16

Rep: Reputation: 0
DOS on Linux


Hello All,

Does anyone know how I can run DOS on linux? I've been trying to follow details on this link but it is sort of old and I cannot seem to even get the DOSEmu to install because the version is not the same I guess; http://www.preshweb.co.uk/linux/howtos/dos/

Thanx.
 
Old 03-20-2009, 02:04 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
What distro and version are you running. Most current distros will have a dos emulator in their repo.
 
Old 03-20-2009, 02:08 AM   #3
grizly
Member
 
Registered: Nov 2006
Location: Melbourne Australia
Distribution: Centos, RHEL, Debian, Ubuntu, Mint
Posts: 128

Rep: Reputation: 16
http://www.dosbox.com/download.php?main=1

Mucho Fasto!!

Last edited by grizly; 03-22-2009 at 08:09 AM. Reason: link err
 
Old 03-20-2009, 02:23 AM   #4
techieg
LQ Newbie
 
Registered: Nov 2006
Posts: 16

Original Poster
Rep: Reputation: 0
I am using CentOS 5.
 
Old 03-20-2009, 02:26 AM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Quote:
yum install dosbox
is one solution. IF dosbox does not work for you post back, there are other options.

It is in both the rpmforge repo and the epel repo.

Last edited by lazlow; 03-20-2009 at 02:28 AM.
 
Old 03-20-2009, 02:30 AM   #6
techieg
LQ Newbie
 
Registered: Nov 2006
Posts: 16

Original Poster
Rep: Reputation: 0
Below is what I got from running "yum Install dosbox", I'm not sure what to make of it whether it installed or not and how to call it up for use:

[root@voip1 ~]# yum install dosbox
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* druid: yum.voiceroute.org
* extras: centos.mirror.nac.net
* updates: ftp.usf.edu
* base: centos.mirror.nac.net
* addons: centos.aol.com
druid 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
Excluding Packages from CentOS-5 - Updates
Finished
Excluding Packages from CentOS-5 - Base
Finished
Setting up Install Process
Parsing package install arguments
No package dosbox available.
Nothing to do
[root@voip1 ~]#
 
Old 03-20-2009, 02:34 AM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Not sure if we got caught in a timing issue or not. You will need to either need to add one of the repos I mentioned or you can TRY and just follow the link(below) and double click on the dosbox rpm. You will have to choose 32bit/64bit and follow it down.

 
Old 03-20-2009, 02:37 AM   #8
techieg
LQ Newbie
 
Registered: Nov 2006
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lazlow View Post
Not sure if we got caught in a timing issue or not. You will need to either need to add one of the repos I mentioned or you can TRY and just follow the link(below) and double click on the dosbox rpm. You will have to choose 32bit/64bit and follow it down.
I am not sure what to download from the endless list of links on the i386/ directory. I am running CentOS 5 32bit. I am not a linux veteran so I may need more details on how to go about this.
 
Old 03-20-2009, 02:40 AM   #9
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Once you get to the directory just search the page (alt f assuming FF) for dosbox. Then just double click on it. It will ask for the root password and probably through a warning about package not being signed (not a issue since it is an official repo).

Edit: should be ctl f not alt f.

Last edited by lazlow; 03-20-2009 at 02:43 AM.
 
Old 03-20-2009, 03:00 AM   #10
techieg
LQ Newbie
 
Registered: Nov 2006
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lazlow View Post
Once you get to the directory just search the page (alt f assuming FF) for dosbox. Then just double click on it. It will ask for the root password and probably through a warning about package not being signed (not a issue since it is an official repo).

Edit: should be ctl f not alt f.
OK, so I downloaded dosbox-0.72-1.el5.i386.rpm and put it in the /usr/src/ directory in CentOS What do I do with this now? The tutorial on the dosbox website only talks about using it in Windows (makes no sense when Windows already has DOS anyway) but no mention of its use in Linux; http://www.dosbox.com/wiki/Basic_Set...tion_of_DosBox .

Last edited by techieg; 03-20-2009 at 03:08 AM.
 
Old 03-20-2009, 12:59 PM   #11
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Ok, in Linux and installing rpms do not worry about where to put the rpms(just leave them on the desktop). Move to whatever directory the rpm is located in and yum localinstall rpmname. In this case:

Quote:
yum localinstall dosbox-0.72-1.el5.i386.rpm
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Executing Perl under Dos /Creating an executable for DOS alix123 Programming 1 02-15-2006 04:07 AM
VB for dos and linux jayakrishnan Linux - Software 5 02-15-2006 12:15 AM
Something like the /w or /p (Dos) in linux?? TheChicken Linux - Newbie 2 09-27-2003 12:03 PM
DOS and Linux. Xiangbuilder Linux - General 6 09-07-2003 01:28 PM
linux and dos dave308 Linux - Networking 4 12-09-2001 07:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration