Skip to content

Linux

(Ubuntu / Debian) Install requirements with

apt-get install 7zip python3-dev python3-pip python3-distutils unrar unzip

(Fedora / CentOS) Install requirements with

yum install python3-devel python3-pip python3-distutils

(Raspbian and maybe other ARM based distro)

thnx to @inquilino for the fixes/updates

sudo apt-get update
sudo apt-get install libxml2-dev libxslt1-dev python3-dev python3-libxml2 python3-lxml unrar-free ffmpeg libatlas-base-dev
  1. Upgrade Python to version 3.8 or greater.
  2. Download latest release of Bazarr here

    wget https://github.com/morpheus65535/bazarr/releases/latest/download/bazarr.zip
    
  3. Create the bazarr directory

    sudo mkdir /opt/bazarr
    
  4. Extract the content of the zipped release to the previously created bazarr directory

    sudo unzip bazarr.zip -d /opt/bazarr
    
  5. cd into /opt/bazarr

    cd /opt/bazarr
    
  6. Install the Python requirements:

    python3 -m pip install -r requirements.txt
    

    Note

    (Raspbian) Don't worry about lxml not being installed at this step, you have installed the module through apt-get anyway.

    Older Raspberry Pi (ARMv6)

    On ARMv6 devices (e.g. older Raspberry Pis, find out with uname -m), numpy installed from pip might contain instruction set that is not compatible with the architecture (Ref). The solution is to replace it with the version from apt repository:

    python3 -m pip uninstall numpy
    sudo apt-get install python3-numpy
    
  7. Change ownership to your preferred user for running programs (replace both instances of $USER, or leave it to change ownership to current user)

    sudo chown -R $USER:$USER /opt/bazarr
    
  8. You can now start bazarr using the following command:

    python3 bazarr.py
    
  9. Open your browser and go to http://localhost:6767/

Please see the autostart page for systemd/upstart configuration instructions.