How To Install bochs-sdl on Ubuntu 18.04

In this tutorial we learn how to install bochs-sdl on Ubuntu 18.04. bochs-sdl is SDL plugin for Bochs

Introduction

In this tutorial we learn how to install bochs-sdl on Ubuntu 18.04.

What is bochs-sdl

bochs-sdl is:

Bochs is a highly portable free IA-32 (x86) PC emulator written in C++, that runs on most popular platforms. It includes emulation of the Intel x86 CPU, common I/O devices, and a custom BIOS.

This package contains an SDL GUI plugin for Bochs.

Use Scroll-Lock key for full screen.

There are three methods to install bochs-sdl on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install bochs-sdl Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install bochs-sdl using apt-get by running the following command:

sudo apt-get -y install bochs-sdl

Install bochs-sdl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install bochs-sdl using apt by running the following command:

sudo apt -y install bochs-sdl

Install bochs-sdl Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install bochs-sdl using aptitude by running the following command:

sudo aptitude -y install bochs-sdl

How To Uninstall bochs-sdl on Ubuntu 18.04

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

sudo apt-get remove bochs-sdl

Uninstall bochs-sdl And Its Dependencies

To uninstall bochs-sdl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove bochs-sdl

Remove bochs-sdl Configurations and Data

To remove bochs-sdl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge bochs-sdl

Remove bochs-sdl configuration, data, and all of its dependencies

We can use the following command to remove bochs-sdl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge bochs-sdl

References

Summary

In this tutorial we learn how to install bochs-sdl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.