Installation - TRaSH-/bazarr GitHub Wiki

Windows

To install Bazarr on Windows 7 or greater, just use our automated installer: Bazarr installer

Please keep in mind that, by default, the Bazarr service will run under Local System account that won't be able to access network shares. You need to change the account used for Bazarr service in services.msc console.

If you install Bazarr in the Program Files directory, the account under which it runs must have administrative privileges for Bazarr to be able to update itself.

Bazarr settings, logs and db are stored in C:\ProgramData\Bazarr.

The start menu shortcut (it opens the web UI) won't work anymore if you change Bazarr listening port or IP address.

Bazarr installed through this installer won't update from any other branch other than master. If you've hard coded something else in config.ini, you must change it back to master.

or you can run it from source the following way.

bazarr requires Python 3.7 or greater and can be run from source. This will use git as the updater, so make sure that it's installed.

  1. Install GIT
  2. Install Python 3.7 or greater (latest is good) from this link and make sure to check the box to have Python directory added to the system path variable.
  3. Open up CMD and go to the folder you want to install bazarr. Do not use C:\Program Files or C:\Program Files (x86) as you could run into strange issues. Something like C:\bazarr is a better choice.
  4. Run git clone https://github.com/morpheus65535/bazarr.git.
  5. Go to the bazarr folder cd bazarr.
  6. Install Python requirements using pip install -r requirements.txt.
  7. You can now start bazarr via python bazarr.py to start bazarr.
  8. Open your browser and go to http://localhost:6767/

Docker

You CANNOT store your config directory over an NFS share as it is unsupported by SQLITE. You'll face a locked database error.

Feel free to use any of the following well maintained images, in no particular order:

hotio/bazarr

Maintained by: hotio
Available tags: latest (=stable), unstable
Versioned tags: stable-0.8.3.4, unstable-8d9023af80974ff09fef3fb8b5f2c51a4923de1f
Updates: every 30 minutes for apps and every hour for upstream image updates

Configuration files for Bazarr are stored in /config/app.

linuxserver/bazarr

Maintained by: linuxserver
Available tags: latest and development
Versioned tags: v0.8.3.4-ls59 and 600ef3ab-ls62
Updates: regular and timely application updates

Configuration files for Bazarr are stored in /config.

For more info on how to configure the images, info about their used tags and their correlation to bazarr branches, visit their respective Docker Hub pages.


Linux

  • (Ubuntu / Debian) Install GIT with apt-get install git-core python3-pip python3-distutils

  • (Fedora / CentOS) Install GIT with yum install git python3-pip python3-distutils

  • (Raspbian and maybe other ARM based distro) Install python3-dev with apt-get install libxml2-dev libxslt1-dev python3-libxml2 python3-lxml unrar-free ffmpeg libatlas-base-dev

  1. Upgrade Python to version 3.7 or greater.

  2. 'cd' to the folder of your choosing.

  3. Run git clone https://github.com/morpheus65535/bazarr.git.

  4. Install Python requirements using pip install -r requirements.txt

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

  1. You can now start bazarr via python bazarr.py to start bazarr.
  2. Open your browser and go to http://localhost:6767/

MacOS

bazarr requires Python 3.7 or greater (system Python 2.7.10 not supported) and can be run from source. This will use git as the updater, so make sure that it's installed.

How To Install Bazarr on Mac OS 10.14 in Terminal

  1. Install Homebrew ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2 /dev/null
  2. Install pyenv brew install pyenv-virtualenv
  3. Add Homebrew Directory To Path export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
  4. Install Python 3.7 brew install python
  5. Add Python 3.7 Directory to Path export PATH="/usr/local/opt/python/libexec/bin:$PATH"
  6. Install virtualenv pip install virtualenv
  7. Create A Python 3.7 Virtual Environment virtualenv -p /usr/local/bin/python venv
  8. Activate The Virtual Environment source venv/bin/activate
  9. Change Directory To Applications cd /Applications
  10. Get Bazarr git clone https://github.com/morpheus65535/bazarr.git
  11. Change Directory To bazarr cd bazarr
  12. Install bazarr requirements python -m pip install -r requirements.txt
  13. Run bazarr Python bazarr.py

To Run bazarr in future, open the Terminal, and Repeat steps 8, 9, 11, 13.

bazarr will run in this Terminal session. Closing the session will stop bazarr.

Access bazarr via browser at https://localhost:6767/


FreeBSD

Instruction as provided by @Derkades: and fixes by @sindreruud

Disclaimer: I don't know how rc.d works so the script is pretty crappy and doesn't have start/stop/status functionality. It only starts the program on startup, which was enough for me.

  1. Install the required software pkg update && pkg install git python3 py3X-pip py3X-libxml2 libxslt py3X-sqlite3 where py3X must be replaced with the Python3 version you use for Bazarr.

  2. cd /usr/local/share

  3. Clone the repository using git clone https://github.com/morpheus65535/bazarr.git (this will download the files to /usr/local/share)

  4. cd bazarr

  5. Install Python requirements using pip install -r requirements.txt

If you get this error message: pip: Command not found, you can refer to #642.

  1. Check if it works python3 bazarr.py. You should see BAZARR is started and waiting for request on http://0.0.0.0:6767/

Synology

See: Installation Synology