Skip to content

Building from sources

Pavel Balaev edited this page Nov 23, 2022 · 7 revisions

Getting latest release

  1. $ git clone https://github.com/nemuTUI/nemu.git
  2. $ cd nemu
  3. $ git checkout release

Building

  1. $ mkdir build
  2. $ cd build
  3. $ cmake ../ -D<option>=<ON\OFF>
  4. $ cmake --build .

Possible options

Turned ON by default
  • NM_WITH_OVF_SUPPORT - enables import of OVA virtual machine images<\li>
  • NM_WITH_VNC_CLIENT - enables VNC protocol support<\li>
  • NM_WITH_SPICE - enables SPICE protocol support (works only if VNC protocol support is ON)<\li>
  • Turned OFF by default
  • NM_WITH_NETWORK_MAP - enables saving network map as svg (requires graphviz library, linux only)<\li>
  • NM_WITH_DBUS - enables notifications via dbus (requires dbus library)<\li>
  • NM_WITH_REMOTE - enables remote control via nemu-droid (requires openssl library)<\li>
  • NM_WITH_UNICODE_GLYPHS - enables unicode glyphs<\li>
  • NM_WITH_QEMU - build with embedded QEMU (requires everything needed for QEMU build)<\li>
  • NM_WITH_NCURSES - build with statically linked and build from scratch ncurses<\li>
  • Additional build options
  • CMAKE_BUILD_TYPE=Debug - build with debug info<\li>
  • CMAKE_INSTALL_PREFIX=/usr - install to /usr instead of /usr/local<\li>
  • Building and installing RPM package

    1. Build with -DCMAKE_INSTALL_PREFIX=/usr
    2. $ make package
    3. # yum install <path_to_created_rpm>

    Installing via "make install" (DON'T USE PLEASE)

    # make install

    Uninstalling via "make install"

    # make uninstall