🖍️
MagicMirror
  • Introduction
  • INSTALLATION
    • Docker Container
    • Ubuntu
    • Windows
  • RUNNING MAGICMIRROR
    • Command and Options
    • single-file-mode
    • batch-mode
    • More Docker Tricks
  • FAQ
  • Contact Us
Powered by GitBook
On this page
  • Download MagicMirror Executable
  • Install Dependency
  • Change Permission
  • Running MagicMirror

Was this helpful?

  1. INSTALLATION

Ubuntu

The following instructions were tested on a freshly installed Ubuntu LTS 18.04 system.

PreviousDocker ContainerNextWindows

Last updated 4 years ago

Was this helpful?

Download MagicMirror Executable

MagicMirror Linux executable can be downloaded . The downloaded file needs to be unzipped.

Install Dependency

The only dependency MagicMirror needs based on a freshly installed Ubuntu LTS 18.04 system is the Java Runtime Environment(JRE) 11, which can be installed using the following commands.

apt update
apt install openjdk-11-jre-headless -y

Change Permission

You may encounter Permission Denied issue when executing the magic_mirror executable. This is likely due to Ubuntu setting the file to be non-executable by default. You can execute the following command to make the file executable in the same directory of the magic_mirror file.

sudo chmod a+x ./magic_mirror

Running MagicMirror

MagicMirror has two modes, single-file-mode and batch-mode, which corresponds to executing a single contract, or a batch of contracts. You can find the quick start and more details for running MagicMirror in these modes in and .

here
single-file-mode
batch-mode