mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 09:15:18 +02:00
termux script fix
This commit is contained in:
@@ -127,12 +127,14 @@ when you can't use the precompiled binary directly, we provide an automated buil
|
||||
|
||||
### Compiling on Android (Termux Installation)
|
||||
- [First, Install and run Termux from F-Droid](https://f-droid.org/en/packages/com.termux/)
|
||||
## Termux Quick Setup Script
|
||||
You can use this auto-installation script to quickly install and build everything and launch KoboldCpp with a model.
|
||||
## Termux Quick Setup Script (Easy Setup)
|
||||
- You can use this auto-installation script to quickly install and build everything and launch KoboldCpp with a model.
|
||||
Simply run:
|
||||
`curl -sSL https://raw.githubusercontent.com/LostRuins/koboldcpp/concedo/android_install.sh | sh`
|
||||
and follow the prompts displayed on screen.
|
||||
## Termux Manual Instructions
|
||||
```
|
||||
curl -sSL https://raw.githubusercontent.com/LostRuins/koboldcpp/concedo/android_install.sh | sh
|
||||
```
|
||||
and it will install everything required. Alternatively, you can download the above `android_install.sh` script to file, then do `chmod +x` and run it interactively.
|
||||
## Termux Manual Instructions (DIY Setup)
|
||||
- Open termux and run the command `apt update`
|
||||
- Install dependency `apt install openssl`
|
||||
- Install other dependencies with `pkg install wget git python`
|
||||
|
||||
+5
-1
@@ -11,7 +11,11 @@ fi
|
||||
echo "--------------------------------------------"
|
||||
echo "KoboldCPP Quick Installer for Termux (Android only!)"
|
||||
echo "--------------------------------------------"
|
||||
if [ -t 0 ]; then
|
||||
if [ $# -ge 1 ]; then
|
||||
choice="$1"
|
||||
echo "Using command-line argument: $choice"
|
||||
# Check if running interactively (terminal input)
|
||||
elif [ -t 0 ]; then
|
||||
# Running interactively
|
||||
echo "[1] - Proceed to install and launch with default model Gemma3-1B"
|
||||
echo "[2] - Proceed to install without a model, you can download one later."
|
||||
|
||||
Reference in New Issue
Block a user