Installation From Package

Installing MATRIX HAL From Package

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

Before starting, ensure you have access to the terminal of your Raspberry Pi via an SSH-session or connect a screen, mouse, and keyboard. Once you've opened the terminal, insert and run the following commands.

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 HAL packages.

sudo apt-get install matrixio-creator-init libmatrixio-creator-hal libmatrixio-creator-hal-dev

Reboot your device.

sudo reboot

Helpful Information

MATRIX HAL header files are installed in /usr/include/matrix_hal.

The compiled MATRIX HAL library file is installed in /usr/lib/libmatrix_creator_hal.so.

Next Steps

Now that MATRIX HAL is properly installed, learn how to create and compile your own MATRIX programs here.