Installing goose-ai on Slackware with Python 3.11 (2024-09-26)

Here is how to install goose-ai on Slackware 1.15 with Python 3.11

  1. Install Python 3.11
    1.1. Download the source code for Python 3.10+ from Python Source Releases | Python.org
    1.2. run ./configure --enable-optimizations
    1.3. run make -j4 # Adjust '4' to the number of your CPU cores for faster compilation
    1.4. sudo make altinstall #altinstall prevents overwriting the default Python binary (python3).

  2. Install goose-ai

pipx install goose-ai --python /usr/local/bin/python3.11