· 2 min read

Install PearAI on Linux: Simple Guide for All Distros

By Maximiliano Farfán
Install PearAI on Linux: Simple Guide for All Distros
GuidePearAILinux

Download PearAI on Linux

  1. Check your CPU compatibility:

    If you're unsure whether your CPU supports AVX or AVX2 FMA, run the following command in your terminal:

    lscpu | grep -o -w 'avx\|avx2\|fma'

    If your result is:

    avx avx2 fma

    feel free to download the AVX2 version. If you only see avx, download the AVX version.

  2. Download the appropriate PearAI installation file:
  3. Extract the contents by running the following command:
    tar -xvf PearAI-{AVX_VERSION}.tar.gz
  4. Navigate to the extracted folder:
    cd PearAI/
  5. Run the installation script with superuser permissions:
    bash pearai_manager.sh
  6. Select your desired option:
    1. Install PearAI
    2. Uninstall PearAI
    3. Exit
  7. Add the following alias to your ~/.bashrc or ~/.zshrc to run PearAI from any directory:
    alias pearai='PearAI'
    After adding the alias, run source ~/.bashrc or source ~/.zshrc to apply the changes.

Notes

Once the installation is complete, PearAI will be ready to use! If you have any questions or run into issues, feel free to join our community and get support through our official Discord server.

This installation method has been tested on multiple Linux distributions, including Arch Linux, Ubuntu 24, Ubuntu 22, Fedora 40 and NixOS. It was compiled using GCC 10, so most distributions with this or newer version should be able to run PearAI without any issues.

We're thrilled to bring PearAI to the Linux community, stay tuned for more exciting updates and features on the horizon!