How to install nme

Welcome to The Machine Emulator (TME)!

The Phabrics TME Page gives more background information about this project. Here is a quick rundown of how to install & run tme.


Installation

There are a couple of ways to install tme.

Source Tarball

First, you can install from source tarball available here. This is the most portable method and should work on most POSIX-like environments using the standard configure/make/install procedure:

  1. wget https://osdn.net/dl/nme/tme-<version>.tar.xz
  2. tar xJf tme-<version>.tar.xz
  3. cd tme-<version>
  4. ./configure [<options>]
  5. make [-j n]
  6. make install

Useful configure options are as follows:

  • --enable-threads=<threading model> where threading model can be one of sjlj, pthreads, or glib. Default threading model is sjlj, which is cooperative multithreading or fibers, which is the same as --disable-threads
  • --enable-hosts=<hosts> where hosts can be one or more of gtk, rfb, sdl, bsd, tun, or openvpn. The first three are display types and the second three are ethernet types. Default is whatever is supported by the host platform.

Parallel builds are supported by the -j option to make.

Package Manager

Alternatively, if your platform has a package manager, and TME is in it, you can use that instead. For instance, if you are using a mingw64 environment from MSYS2, you can use the wonderful pacman installer to directly install the latest built release as follows:

  1. pacman -S ${MINGW_PACKAGE_PREFIX}-tme

This installs for the five main mingw64 environments, depending upon which one you are in: ucrt64, mingw32, mingw64, clang32, clang64, clangarm64. To install all at once, use ".*" in place of the MINGW_PACKAGE_PREFIX variable.