mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +00:00
Add post install configuration for install go binary.
This commit is contained in:
11
README.md
11
README.md
@@ -245,6 +245,17 @@ This guide installs Go version 1.24.2, as specified in the Dockerfile.
|
||||
* **`tar`:** The GNU Tape Archiver.
|
||||
* **`xvf`:** As described in the CMake installation guide, these options extract the archive and list the extracted files.
|
||||
|
||||
3. **Post Install Configuration:**
|
||||
|
||||
After copying the binary to `/usr/local`, you should add `/usr/local/go/bin` to the PATH environment variable. To do this, you can create a file in `/etc/profile.d/`.
|
||||
|
||||
```bash
|
||||
echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee /etc/profile.d/go.sh
|
||||
```
|
||||
|
||||
* **`echo`:** Prints the string to standard output.
|
||||
* **`sudo tee`:** Writes the string to a file with superuser privileges. The `-a` option can be used to append to the file instead of overwriting it.
|
||||
|
||||
## Compilation Guide: Ollama37
|
||||
|
||||
**Prerequisites:**
|
||||
|
||||
Reference in New Issue
Block a user