Zack Saadioui
8/26/2024
1
2
3
bash
pkg update
pkg upgrade
1
2
bash
pkg install git golang proot-distro
Important Note: Before you proceed, make sure you have the x86_64 or arm64 architecture since that determines the versions of Ollama available to you. You can check your architecture by running:1 2
bash uname -m
1
2
3
bash
git clone --depth 1 https://github.com/jmorganca/ollama.git
cd ollama
1
2
3
bash
go generate ./...
go build .
1
2
bash
./ollama serve &
1
2
bash
./ollama run llama:2b
1
llama:2b
1
2
bash
ollama chat
1
libnvidia-ml.so
Copyright © Arsturn 2024