1 Setup Linux
partisan edited this page 2025-01-12 11:39:12 +01:00

Setup for Linux

Prerequisites

  • Go: Version 1.23 or higher is required.
  • Git: Necessary for cloning the repository.
  • Internet Access: Required for fetching search results.

Installing Go (if not already installed or version is too low)

  1. Ubuntu/Debian-based systems:

    sudo apt update
    sudo apt install -y golang-go
    
  2. Fedora/RHEL-based systems:

    sudo dnf install -y golang
    
  3. Arch-based systems:

    sudo pacman -S go
    

Manual Installation (If Go version from package manager is too low)

  1. Download the latest Go tarball:

    wget https://go.dev/dl/go1.23.linux-amd64.tar.gz
    
  2. Extract it to /usr/local:

    sudo tar -C /usr/local -xzf go1.23.linux-amd64.tar.gz
    
  3. Add Go to your PATH (add this to ~/.bashrc or ~/.zshrc):

    export PATH=$PATH:/usr/local/go/bin
    
  4. Verify installation:

    go version
    

Running QGato

  1. Install Git:

    sudo apt install -y git  # For Ubuntu/Debian
    sudo dnf install -y git  # For Fedora/RHEL
    sudo pacman -S git       # For Arch
    
  2. Clone the repository:

    git clone https://weforge.xyz/Spitfire/Search.git
    cd Search
    
  3. Make the script executable:

    chmod +x ./run.sh
    
  4. Run the script:

    ./run.sh
    

Alternative (Using Go Directly)

  1. Clone the repository:

    git clone https://weforge.xyz/Spitfire/Search.git
    cd Search
    
  2. Run QGato with Go:

    go run .
    

That's it! QGato is now running.