--- #领域/未知 #复盘/0 #临时/备忘 #状态/待处理 20260311-备忘-主题名-文件内容 ## 一句话描述 [________] --- ```bash # 新建并进入项目文件夹 mkdir LLM-KnowledgeBase && cd LLM-KnowledgeBase # 克隆llama.cpp仓库 git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp # 安装依赖 pip install -r requirements.txt # 编译(Windows自动用Visual Studio编译,等待1-2分钟) make ``` ``` apt update && apt install build-essential ```