How To Install Aptitude In Ubuntu
In this tutorial, we will be showing y'all how to install DOSBox on the Ubuntu operating system.
DOSBox is an open up-source emulator for the DOS operating system. Information technology even emulates various features of hardware of the fourth dimension, such as Tandy/Hercules/CGA/EGA/VGA/VESA graphics, as well as SoundBlaster/Gravis Ultra sound cards.
Emulating these various features has made it possible to even run MS-DOS applications on a Linux system such as Ubuntu.
The simply drawback of DOSBox is that it is primarily driven through its command-line interface. But, don't worry, equally information technology is relatively straightforward to use.
Over the following few sections, we will show you how easy it is to install DOSBox to Ubuntu. Additionally, we will also show yous how to use information technology to run an MS-DOS application.
Installing DOSBox on Ubuntu
The process of installing DOSBox on Ubuntu is relatively straightforward. This is because DOSBox is available through the official package repository.
Before y'all continue with this section, y'all will need to open the terminal on Ubuntu. The easiest manner to open the final on desktop is to printing CTRL + ALT + T.
i. Before proceeding, yous will need to enable the Ubuntu universe repository past following our guide.
These steps are straightforward and will have the universe repository enabled rapidly.
2. Once you take the Ubuntu universe repository enabled, we can now run a parcel listing update.
Updating the parcel list is crucial to ensure we are installing the latest version of DOSBox on Ubuntu.
3. Once the package list has been updated, nosotros tin can finally install DOSBox.
To install DOSBox on Ubuntu, you only need to run the following command within the terminal.
You volition be prompted to confirm the installation of DOSBox. Press Y, then ENTER when this prompt appears.
iv. For our adjacent step, allow us create a directory where we will store our various MS-DOS software.
Using the post-obit mkdir command, nosotros will make a directory called "dosbox
" in your user's home directory.
Configuring DOSBox on Ubuntu
Before using DOSBox, you will want to configure it to best arrange your needs. This section will prove you how to find the configuration file. Additionally, we volition also testify you how to open the key mapper.
Using the mapper, yous can configure the controls to suit your needs. For instance, you can map an Xbox controller to specific keys.
1. We need to start DOSBox on our Ubuntu system so that it will generate all the configuration files you need.
To beginning DOSBox, run the post-obit command on your system.
2. DOSBox will now open on your system. Once open, y'all tin leave it immediately by typing "get out
" and so pressing ENTER.
3. You tin at present edit the DOSBox configuration file using the following command.
To edit this file, nosotros will apply the nano text editor as it is very straightforward.
The configuration file name might change depending on the version of DOSBox that was installed on Ubuntu. You lot tin use the ls command to bank check for files inside this directory.
4. Within this configuration file, you will find a ton of options that you can adjust.
We won't comprehend this within this guide, but you can check the official DOSBox documentation for the best data.
In one case you accept made any changes, you tin relieve and quit by pressing CTRL + X, then Y, followed by the ENTER key.
v. There are a couple of means that you can DOSBox's mapper. This mapper is what allows yous to assign keys to item buttons. This includes mapping keys to a controller.
If you already have DOSBox opened on Ubuntu, you lot can press CTRL + F1 to open the mapper.
Notwithstanding, you can open the mapper directly from the terminal using the post-obit command.
half dozen. Below, you tin meet what the DOSBox mapper looks like after opening it on Ubuntu. Y'all tin can click the keys to change the fundamental mapping.
If you lot are using a known controller, you lot might find some keys are automatically mapped. Notwithstanding, the default mapping may non be nifty, depending on the game you are running.
Installing your First DOS Game
In this section, we will show yous how to set up a game and so yous can run it using the DOSBox emulator on Ubuntu.
These basic steps are here to show y'all where we expect the files to exist extracted for this guide.
While these particular steps focus on using the last, y'all can easily do this within the desktop GUI. Basically, you only demand to extract your games to the "dosbox
" directory we created earlier in your home directory.
It would be best if yous kept each game in its own directory. For example, the game Outrun would be in "~/dosbox/outrun/
".
An splendid place to find old MS-DOS games is Archive.org's MS-DOS Games library. If a game tin can be downloaded, you need to click the ZIP option nether "Download Options".
1. For this case, we accept the DOS game "Outrun" saved to our "~/dosbox/
" directory. All the same, it is currently stored equally a ".zip
" annal.
However, information technology only exists as a zip file so we will need to extract it.
2. You can extract this annal by using the unzip command on Ubuntu.
For our game, we ran the post-obit command to extract its contents to a subdirectory called "outrun
". If your archive already contains the game as a subdirectory, zyou tin can skip using the "-d
" pick.
3. Once y'all have the DOS game yous desire to play on Ubuntu extracted to its own directory, we can movement on to playing information technology.
Running a Game with DOSBox on Ubuntu
Within this department you will acquire how you can use DOSBox on Ubuntu to run your games. Using this emulator is fairly straightforward process even though it is command line driven.
1. To launch the game, you must open up the DOSBox application.
The fastest way to do this is to open the last and run the post-obit command.
2. With DOSBox now running on Ubuntu, we tin use it to launch a game. Our start chore is to "mount
" the directory where we stored the game to the "c
" drive letter.
We can practice that by using the following control within DOSBox.
First, you write the "mountain
" command, followed by a bulldoze letter of the alphabet (E.Grand., c
), and then finally, the directory you desire to mount. In our case, this is where we extracted Outrun on our device.
3. After mounting a new directory to a specific drive letter, yous need to change to it.
You tin change to our newly mounted path using a drive letter (c
), followed by a colon (:
).
4. You can now run your game by typing in the name of its executable.
In our example, this ways we would type in "outrun
" to launch the game.
If you are unsure what the executable file is chosen inside your directory, you tin can use the following command to find it.
v. Below, you lot can encounter how we now have Outrun running on our Ubuntu device thank you to DOSBox.
You can command how fast or tedious the game is running by controlling its cycles. To decrease the speed, press CTRL + F11. To increment the speed, press CTRL + F12.
Conclusion
Hopefully, at this betoken, yous will have successfully installed DOSBox on Ubuntu and run your showtime game.
DOSBox is one of the all-time means to run any programme that was designed to run on the sometime DOS systems.
Please comment beneath if you have questions near installing and running DOSBox on Ubuntu.
Exist sure to check out our many other Ubuntu tutorials. We also have many other general Linux tutorials.
Source: https://pimylifeup.com/ubuntu-dosbox/
0 Response to "How To Install Aptitude In Ubuntu"
Post a Comment