gxemul command not found

In this troubleshooting guide we learn how to fix gxemul command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gxemul: command not found

or when using sudo you get the following error message

sudo: gxemul: command not found

Solutions to gxemul: command not found

How To Fix gxemul: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gxemul is provided by gxemul package.

gxemul is:

GXemul aims at emulating complete machines with enough hardware emulated to run real unmodified operating systems. The emulation of these machine types is good enough to run a least one guest operating system:

ARM-based machines:

  • CATS (NetBSD/cats, OpenBSD/cats, Debian GNU/Linux)
  • IQ80321 (NetBSD/evbarm)
  • NetWinder (NetBSD/netwinder)
  • Raspberry Pi (NetBSD/raspberrypi, FreeBSD, HelenOS/rpi) MIPS-based machines:
  • Acer Pica-61 (NetBSD/arc, Windows NT)
  • Algorithmics P5064 (NetBSD/algor)
  • Cobalt (NetBSD/cobalt)
  • DECstation 5000/200 (NetBSD/pmax, OpenBSD/pmax, Ultrix, Linux/DECstation, Sprite), DECstation 5000/1xx (raw PROM)
  • Malta (NetBSD/evbmips, Linux/Malta)
  • NEC MobilePro 770, 780, 800, 880 (NetBSD/hpcmips)
  • PlayStation 2 (NetBSD/playstation2)
  • SGI O2 (NetBSD/sgimips, OpenBSD/sgi, Linux, IRIX, raw PROM)
  • VoCore (FreeBSD/vocore, Linux/vocore) Motorola 88K-based machines:
  • Luna 88K (OpenBSD/luna88k)
  • Motorola MVME187 (OpenBSD/mvme88k) PowerPC-based machines:
  • Artesyn PM/PPC (NetBSD/pmppc)
  • IBM 6050/6070 (PReP, PowerPC Reference Platform) (NetBSD/prep)
  • MacPPC (NetBSD/macppc, HelenOS/ppc) SuperH-based machines:
  • Landisk I-O DATA USL-5P (NetBSD/landisk, OpenBSD/landisk)
  • Sega Dreamcast (NetBSD/dreamcast, Linux/dreamcast)

Other machine types and architectures are emulated less completely. See the documentation in the gxemul-doc package for the exact details and guides to installing guest operating systems.

To fix this problem, we can install more using the command below.

sudo apt-get -y install gxemul

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install gxemul.

sudo apt -y install gxemul

Or if you have aptitude installed you can use the following command.

sudo aptitude install gxemul

Summary

In this tutorial we learn how to fix gxemul command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.