From 8bc022e1c5704893ad163f111fff78c9bbe9ec4c Mon Sep 17 00:00:00 2001 From: wzy <32936898+Freed-Wu@users.noreply.github.com> Date: Fri, 21 Jul 2023 22:45:52 -0600 Subject: [PATCH] Add installa methods --- Home.md | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/Home.md b/Home.md index b2429e0..9adc944 100644 --- a/Home.md +++ b/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 . + +```sh +apt install llama-cpp +``` + +### Windows Msys2 + +Wait . + +```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 +``` \ No newline at end of file