From c6d4c0c7f2d38f4bca684db40de3716f39aa8fcc Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 9 Jan 2026 21:29:03 -0500 Subject: [PATCH] Documentation edits made through Mintlify web editor --- docs/linux.mdx | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/docs/linux.mdx b/docs/linux.mdx index 49b58a45c..cf3ccc604 100644 --- a/docs/linux.mdx +++ b/docs/linux.mdx @@ -1,5 +1,5 @@ --- -title: Linux +title: "Linux" --- ## Install @@ -13,15 +13,14 @@ curl -fsSL https://ollama.com/install.sh | sh ## Manual install - If you are upgrading from a prior version, you should remove the old libraries - with `sudo rm -rf /usr/lib/ollama` first. + If you are upgrading from a prior version, you should remove the old libraries with `sudo rm -rf /usr/lib/ollama` first. Download and extract the package: ```shell -curl -fsSL https://ollama.com/download/ollama-linux-amd64.tar.zst \ - | sudo tar x -C /usr +curl -fsSL https://ollama.com/download/ollama-linux-amd64.tgz \ + | sudo tar zx -C /usr ``` Start Ollama: @@ -41,8 +40,8 @@ ollama -v If you have an AMD GPU, also download and extract the additional ROCm package: ```shell -curl -fsSL https://ollama.com/download/ollama-linux-amd64-rocm.tar.zst \ - | sudo tar x -C /usr +curl -fsSL https://ollama.com/download/ollama-linux-amd64-rocm.tgz \ + | sudo tar zx -C /usr ``` ### ARM64 install @@ -50,8 +49,8 @@ curl -fsSL https://ollama.com/download/ollama-linux-amd64-rocm.tar.zst \ Download and extract the ARM64-specific package: ```shell -curl -fsSL https://ollama.com/download/ollama-linux-arm64.tar.zst \ - | sudo tar x -C /usr +curl -fsSL https://ollama.com/download/ollama-linux-arm64.tgz \ + | sudo tar zx -C /usr ``` ### Adding Ollama as a startup service (recommended) @@ -113,11 +112,7 @@ sudo systemctl status ollama ``` - While AMD has contributed the `amdgpu` driver upstream to the official linux - kernel source, the version is older and may not support all ROCm features. We - recommend you install the latest driver from - https://www.amd.com/en/support/linux-drivers for best support of your Radeon - GPU. + While AMD has contributed the `amdgpu` driver upstream to the official linux kernel source, the version is older and may not support all ROCm features. We recommend you install the latest driver from https://www.amd.com/en/support/linux-drivers for best support of your Radeon GPU. ## Customizing @@ -146,8 +141,8 @@ curl -fsSL https://ollama.com/install.sh | sh Or by re-downloading Ollama: ```shell -curl -fsSL https://ollama.com/download/ollama-linux-amd64.tar.zst \ - | sudo tar x -C /usr +curl -fsSL https://ollama.com/download/ollama-linux-amd64.tgz \ + | sudo tar zx -C /usr ``` ## Installing specific versions @@ -196,4 +191,4 @@ Remove the downloaded models and Ollama service user and group: sudo userdel ollama sudo groupdel ollama sudo rm -r /usr/share/ollama -``` +``` \ No newline at end of file