Linux¶
(Ubuntu / Debian) Install requirements with¶
apt-get install 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
- Upgrade Python to version 3.8 or greater.
-
Download latest release of Bazarr here
wget https://github.com/morpheus65535/bazarr/releases/latest/download/bazarr.zip
-
Create the
bazarr
directorysudo mkdir /opt/bazarr
-
Extract the content of the zipped release to the previously created
bazarr
directorysudo unzip bazarr.zip -d /opt/bazarr
-
cd into /opt/bazarr
cd /opt/bazarr
-
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 throughapt-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
-
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
-
You can now start bazarr using the following command:
python3 bazarr.py
-
Open your browser and go to http://localhost:6767/
Please see the autostart page for systemd/upstart configuration instructions.