Installation

Installing MATRIX CORE

Make sure you have setup your MATRIX Creator or MATRIX Voice before continuing.

Installation

Before starting, ensure you have access to the terminal of your Raspberry Pi via an SSH-session or a connected screen, mouse, and keyboard. Then insert and run the following commands into your Raspberry Pi's terminal, one at a time.

Add the MATRIX repository and key.

curl https://apt.matrix.one/doc/apt-key.gpg | sudo apt-key add -
echo "deb https://apt.matrix.one/raspbian $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/matrixlabs.list

Update your repository and packages.

sudo apt-get update
sudo apt-get upgrade

Install the the MATRIX CORE packages.

sudo apt-get install matrixio-malos

Reboot your device.

sudo reboot

MATRIX CORE will now be running as a service each time your Raspberry Pi boots up.

These remaining commands will install ZeroMQ.

echo "deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/Debian_9.0/ ./" | sudo tee /etc/apt/sources.list.d/zeromq.list
wget https://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/Debian_9.0/Release.key -O- | sudo apt-key add


Next Steps

Now that you have MATRIX CORE and ZeroMQ installed, please take a look at Understanding CORE here.

If you're already familiar, you can learn how to setup a programming language for communicating with CORE. We currently have tutorials for the following languages:


Helpful Information

Upgrading

If you need to upgrade your MATRIX CORE package at any time, please run the following commands on your Raspberry Pi.

sudo apt-get update
sudo apt-get upgrade
A reboot will be required after upgrading your packages.

sudo reboot

Stopping & Starting

If you need to manually stop MATRIX CORE use:

sudo pkill -9 malos

If you need to manually start MATRIX CORE again use:

malos &