How To Install bochs on Fedora 34

bochs is Portable x86 PC emulator

Introduction

In this tutorial we learn how to install bochs on Fedora 34.

What is bochs

Bochs is a portable x86 PC emulation software package that emulates enough of the x86 CPU, related AT hardware, and BIOS to run DOS, Windows ‘95, Minix 2.0, and other OS’s, all on your workstation.

We can use yum or dnf to install bochs on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install bochs.

Install bochs on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install bochs using dnf by running the following command:

sudo dnf -y install bochs

Install bochs on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install bochs using yum by running the following command:

sudo yum -y install bochs

How To Uninstall bochs on Fedora 34

To uninstall only the bochs package we can use the following command:

sudo dnf remove bochs

bochs Package Contents on Fedora 34

/usr/bin/bochs
/usr/bin/bxhub
/usr/bin/bximage
/usr/lib/.build-id
/usr/lib/.build-id/80
/usr/lib/.build-id/80/4f62724619a6568541679d0b4785f24dbc85df
/usr/lib/.build-id/84
/usr/lib/.build-id/84/0633e062137f3adb9d3aec68d694d3609ce89d
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/72a73b8288775dd9996c5f5f82fdb6a1e57919
/usr/share/bochs
/usr/share/bochs/keymaps
/usr/share/bochs/keymaps/sdl-pc-de.map
/usr/share/bochs/keymaps/sdl-pc-us.map
/usr/share/bochs/keymaps/sdl2-pc-de.map
/usr/share/bochs/keymaps/sdl2-pc-us.map
/usr/share/bochs/keymaps/x11-pc-be.map
/usr/share/bochs/keymaps/x11-pc-da.map
/usr/share/bochs/keymaps/x11-pc-de.map
/usr/share/bochs/keymaps/x11-pc-es.map
/usr/share/bochs/keymaps/x11-pc-fr.map
/usr/share/bochs/keymaps/x11-pc-it.map
/usr/share/bochs/keymaps/x11-pc-ru.map
/usr/share/bochs/keymaps/x11-pc-se.map
/usr/share/bochs/keymaps/x11-pc-si.map
/usr/share/bochs/keymaps/x11-pc-uk.map
/usr/share/bochs/keymaps/x11-pc-us.map
/usr/share/doc/bochs
/usr/share/doc/bochs/CHANGES
/usr/share/doc/bochs/COPYING
/usr/share/doc/bochs/LICENSE
/usr/share/doc/bochs/README
/usr/share/doc/bochs/README-plugins
/usr/share/doc/bochs/README-wxWidgets
/usr/share/doc/bochs/TODO
/usr/share/doc/bochs/bochsrc-sample.txt
/usr/share/doc/bochs/development
/usr/share/doc/bochs/development/book1.html
/usr/share/doc/bochs/development/c1491.html
/usr/share/doc/bochs/development/c1525.html
/usr/share/doc/bochs/development/c1604.html
/usr/share/doc/bochs/development/c17.html
/usr/share/doc/bochs/development/c60.html
/usr/share/doc/bochs/development/x1445.html
/usr/share/doc/bochs/development/x1449.html
/usr/share/doc/bochs/development/x1517.html
/usr/share/doc/bochs/development/x1521.html
/usr/share/doc/bochs/development/x1560.html
/usr/share/doc/bochs/development/x1665.html
/usr/share/doc/bochs/development/x1673.html
/usr/share/doc/bochs/development/x1681.html
/usr/share/doc/bochs/development/x1690.html
/usr/share/doc/bochs/development/x1694.html
/usr/share/doc/bochs/development/x186.html
/usr/share/doc/bochs/development/x26.html
/usr/share/doc/bochs/development/x275.html
/usr/share/doc/bochs/development/x308.html
/usr/share/doc/bochs/development/x360.html
/usr/share/doc/bochs/development/x424.html
/usr/share/doc/bochs/development/x429.html
/usr/share/doc/bochs/development/x468.html
/usr/share/doc/bochs/development/x56.html
/usr/share/doc/bochs/development/x94.html
/usr/share/doc/bochs/development/x973.html
/usr/share/doc/bochs/documentation
/usr/share/doc/bochs/documentation/book1.html
/usr/share/doc/bochs/documentation/c104.html
/usr/share/doc/bochs/documentation/c11.html
/usr/share/doc/bochs/documentation/c22.html
/usr/share/doc/bochs/documentation/c74.html
/usr/share/doc/bochs/documentation/x168.html
/usr/share/doc/bochs/documentation/x62.html
/usr/share/doc/bochs/images
/usr/share/doc/bochs/images/dlxlinux-in-linux.png
/usr/share/doc/bochs/images/headerbar.png
/usr/share/doc/bochs/images/undercon.png
/usr/share/doc/bochs/index.html
/usr/share/doc/bochs/slirp.conf
/usr/share/doc/bochs/user
/usr/share/doc/bochs/user/book1.html
/usr/share/doc/bochs/user/c1581.html
/usr/share/doc/bochs/user/c26.html
/usr/share/doc/bochs/user/c2857.html
/usr/share/doc/bochs/user/c3296.html
/usr/share/doc/bochs/user/c3320.html
/usr/share/doc/bochs/user/c3442.html
/usr/share/doc/bochs/user/c367.html
/usr/share/doc/bochs/user/c372.html
/usr/share/doc/bochs/user/c4977.html
/usr/share/doc/bochs/user/x1621.html
/usr/share/doc/bochs/user/x1666.html
/usr/share/doc/bochs/user/x232.html
/usr/share/doc/bochs/user/x2474.html
/usr/share/doc/bochs/user/x271.html
/usr/share/doc/bochs/user/x2941.html
/usr/share/doc/bochs/user/x2964.html
/usr/share/doc/bochs/user/x3037.html
/usr/share/doc/bochs/user/x3146.html
/usr/share/doc/bochs/user/x3154.html
/usr/share/doc/bochs/user/x3307.html
/usr/share/doc/bochs/user/x3312.html
/usr/share/doc/bochs/user/x3388.html
/usr/share/doc/bochs/user/x3733.html
/usr/share/doc/bochs/user/x3823.html
/usr/share/doc/bochs/user/x3828.html
/usr/share/doc/bochs/user/x3832.html
/usr/share/doc/bochs/user/x3872.html
/usr/share/doc/bochs/user/x3877.html
/usr/share/doc/bochs/user/x3885.html
/usr/share/doc/bochs/user/x3917.html
/usr/share/doc/bochs/user/x3947.html
/usr/share/doc/bochs/user/x396.html
/usr/share/doc/bochs/user/x3979.html
/usr/share/doc/bochs/user/x4062.html
/usr/share/doc/bochs/user/x4146.html
/usr/share/doc/bochs/user/x4178.html
/usr/share/doc/bochs/user/x4280.html
/usr/share/doc/bochs/user/x4298.html
/usr/share/doc/bochs/user/x43.html
/usr/share/doc/bochs/user/x4330.html
/usr/share/doc/bochs/user/x4455.html
/usr/share/doc/bochs/user/x4472.html
/usr/share/doc/bochs/user/x4508.html
/usr/share/doc/bochs/user/x4522.html
/usr/share/doc/bochs/user/x4535.html
/usr/share/doc/bochs/user/x4912.html
/usr/share/doc/bochs/user/x50.html
/usr/share/doc/bochs/user/x5011.html
/usr/share/doc/bochs/user/x5064.html
/usr/share/doc/bochs/user/x5096.html
/usr/share/doc/bochs/user/x5111.html
/usr/share/doc/bochs/user/x5116.html
/usr/share/doc/bochs/user/x5121.html
/usr/share/doc/bochs/user/x5126.html
/usr/share/doc/bochs/user/x57.html
/usr/share/doc/bochs/user/x64.html
/usr/share/doc/bochs/user/x642.html
/usr/share/doc/bochs/user/x76.html
/usr/share/doc/bochs/user/x80.html
/usr/share/doc/bochs/user/x925.html
/usr/share/man/man1/bochs.1.gz
/usr/share/man/man1/bximage.1.gz
/usr/share/man/man5/bochsrc.5.gz

References

Summary

In this tutorial we learn how to install bochs on Fedora 34 using yum and dnf.