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
Copy to clipboard

Update your repository and packages.

sudo apt-get update
sudo apt-get upgrade
Copy to clipboard

Install the the MATRIX CORE packages.

sudo apt-get install matrixio-malos
Copy to clipboard

Reboot your device.

sudo reboot
Copy to clipboard

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
Copy to clipboard


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
Copy to clipboard
A reboot will be required after upgrading your packages.

sudo reboot
Copy to clipboard

Stopping & Starting

If you need to manually stop MATRIX CORE use:

sudo pkill -9 malos
Copy to clipboard

If you need to manually start MATRIX CORE again use:

malos &
Copy to clipboard