sudo apt-get install dosboxThat's pretty easy! You can always go to the DosBox homepage to get a new version of the software, you'll have to compile it yourself though.
Now, you need games. You can run over here to Abandonia to grab a few, make sure you search only the downloadable ones. Some of them won't work in DosBox unless you get Windows 3.x working, a quick tutorial can be found here. However, many of them do work really well.
I had a problem with my USB mouse and the cursor getting messed up, it would just go to the bottom right and get stuck there. No fun for Command and Conquer. To fix this, create a script like this in your dosbox folder:
Save it and then make it executable (either by using chmod, or right-click the file, go to Properties, choose the Permissions tab, and check "Allow executing the file as program). Now, whenever you want to run DosBox, you just run this instead of the normal dosbox executable.
There's one last thing to do. In order to access any files, you have to mount a drive. So you'll need a folder to mount. Create a folder in your home directory called dos:
mkdir ~/dosNow you have to mount the folder inside Dosbox. You can do this in the DosBox terminal by typing:
Z:\>mount c ~/dosThis is annoying to do all the time though, so here's a way to make it automatically mount the folder:
1) Go into DosBox, type:
Z:\>config -writeconf dosbox.confand hit enter.
2) Exit DosBox, and open the dosbox.conf file that is now in the dos folder you just created.
3) Go to the very end and add:
mount c ~/dosNow you should have a working DosBox install! Enjoy! Some good games to try out are Skyroads, Command & Conquer or Elder Scrolls I: The Arena.