Skip to content

Linux

(Ubuntu / Debian) Install requirements with

apt-get install python3-dev python3-pip python3-distutils

(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.7 or greater.
  2. Download latest release of Bazarr here
  3. Create the bazarr directory

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

  5. Install Python requirements using:

    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
    
  6. Change ownership to your preferred user for running programs (replace both instances of $user)

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

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

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


Last update: May 30, 2023 10:12:36