Files
Olares/docs/manual/get-started/install-raspberry-pi.md
2026-01-07 16:58:18 +08:00

1.6 KiB

description
description
Complete guide to installing Olares on Raspberry Pi including hardware requirements, installation process, and system activation steps.

Install Olares on Raspberry Pi

This guide explains how to install Olares on a Raspberry Pi.

:::warning Not recommended for production use Currently, Olares on Raspberry Pi has certain limitations. We recommend using it only for development or testing purposes. :::

System requirements

Make sure your Raspbian device meets the following requirements.

  • Hardware: Raspberry Pi 4B or Raspberry Pi 5 with 8GB memory
  • Operating system: Raspbian 12
  • Storage: At least 150GB of available SSD storage. ::: warning SSD required The installation will likely fail if an HDD (mechanical hard drive) is used instead of an SSD. ::: ::: info GPU limitation Olares GPU acceleration currently supports NVIDIA GPUs only. Consequently, GPU resources cannot be managed or utilized for AI workloads on macOS devices. :::

Set up system environment

  1. Configure the Raspbian environment to enable necessary features:

    echo "$(head -1 /boot/firmware/cmdline.txt) cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1" | sudo tee /boot/firmware/cmdline.txt
    
    echo "kernel=kernel8.img" | sudo tee -a /boot/firmware/config.txt
    
  2. Reboot your Raspbian device to apply the change.

    sudo reboot
    

Install Olares

Run the following command: