For application installation and upgrade, use the apt package management tool to download and update function units. Please refer to the following operations.
1. Preparation
Connect to the RaspberryPi device terminal via SSH or other methods.
2. Update Software Sources
Copy the following commands to add the GPG key and add M5Stack’s software source information to the system’s source list.
Execute the apt update command to update the package index.
sudo apt update
3. Install Packages
View the available llm deb package list. Packages named in the format llm-model-name are model packages, and those named as llm-name are functional unit packages.
apt list | grep llm
Install packages as needed using the apt command. For example, to install the llm-whisper package. Note: Models will occupy large storage space, it is recommended to install as needed.
sudo apt install llm-whisper
For detailed package information, visit the StackFlow Github package list. It contains model configuration JSON files, showing the model source (homepage), function, and data format.
4. Dependency Packages Introduction
lib-llm
Provides the runtime environment required for the software.