Docs
Install on Linux
Linux requirements, Python setup, and Trillim install paths.
Requirements
- Linux on x86_64 or ARM64
- Python 3.12 or newer
glibc 2.27or newer
Check glibc:
ldd --version | head -n 1
1. Check Python
python3 --version
If that already prints Python 3.12.x or newer, continue to step 3.
2. Install Python 3.12+
Recommended: install Python with uv
Install uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
Open a new shell, then install and verify Python 3.12:
uv python install 3.12
uv run --python 3.12 python --version
Alternative: distro packages
Examples:
# Ubuntu / Debian
sudo apt update
sudo apt install python3.12 python3.12-venv python3-pip
# Fedora
sudo dnf install python3.12 python3.12-pip
# Arch Linux
sudo pacman -S python python-pip
Then verify:
python3 --version
3. Install Trillim
Create a project and add the package:
mkdir trillim-demo
cd trillim-demo
uv init
uv python pin 3.12
uv add trillim
For STT and TTS support:
uv add "trillim[voice]"
4. Verify the Install
uv run python --version
uv run trillim --help
5. First Run
uv run trillim models
uv run trillim pull Trillim/BitNet-TRNQ
uv run trillim chat Trillim/BitNet-TRNQ
Start the server:
uv run trillim serve Trillim/BitNet-TRNQ
6. pip Alternative
python3.12 -m venv .venv
source .venv/bin/activate
python --version
python -m pip install --upgrade pip
pip install trillim
With voice support:
pip install "trillim[voice]"
Common Linux Pitfalls
trillim modelsuses the network.trillim listis the local-only command.trillim pullonly accepts repositories in theTrillim/<name>namespace.trillim chatandtrillim serveload from managed store IDs only.- If your distro Python is older than 3.12, use
uvrather than forcing system packages.