Add installa methods

wzy 2023-07-21 22:45:52 -06:00
parent ef98016946
commit 8bc022e1c5

56
Home.md

@ -1 +1,57 @@
Welcome to the llama.cpp wiki!
## Install
### ArchLinux
```sh
yay -S llama-cpp
yay -S llama-cpp-cuda
yay -S llama-cpp-opencl
```
### NixOS
```sh
nix run github#ggerganov/llama.cpp
```
### Android Termux
Wait <https://github.com/termux/termux-packages/pull/17457>.
```sh
apt install llama-cpp
```
### Windows Msys2
Wait <https://github.com/msys2/MINGW-packages/issues/17808>.
```sh
pacman -S llama-cpp
```
### Debian (Ubuntu)
```sh
git clone --depth=1 https://github.com/ggerganov/llama.cpp
cd llama.cpp
cmake -Bbuild
cmake --build build -D...
cd build
cpack -G DEB
dpkg -i *.deb
```
### Redhat
```sh
git clone --depth=1 https://github.com/ggerganov/llama.cpp
cd llama.cpp
cmake -Bbuild
cmake --build build -D...
cd build
cpack -G RPM
dpkg -i *.deb
```