compiling ollama from source by using a docker container with a prebuilt rocm 6.1 dev environment:
rocm/dev-ubuntu-22.04:6.1-complete
Install these packages first
apt install cmake git
apt install software-properties-common
add-apt-repository ppa:longsleep/golang-backports
apt install golang-go
Clone the repo
git clone https://github.com/ollama/ollama /rtt/o........
Just use apt-cache policy to find the repo of a package:
apt-cache policy lxd
lxd:
Installed: 3.0.3-0ubuntu1~18.04.2
Candidate: 3.0.3-0ubuntu1~18.04.2
Version table:
*** 3.0.3-0ubuntu1~18.04.2 500
500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
&nb........