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.
- Install GIT
- 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.
- Open up CMD and go to the folder you want to install bazarr. Do not use
C:\Program Files
orC:\Program Files (x86)
as you could run into strange issues. Something likeC:\bazarr
is a better choice. - Run
git clone https://github.com/morpheus65535/bazarr.git
. - Go to the bazarr folder
cd bazarr
. - Install Python requirements using
pip install -r requirements.txt
. - You can now start bazarr via
python bazarr.py
to start bazarr. - 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
withapt-get install libxml2-dev libxslt1-dev python3-libxml2 python3-lxml unrar-free ffmpeg libatlas-base-dev
-
Upgrade Python to version 3.7 or greater.
-
'cd' to the folder of your choosing.
-
Run
git clone https://github.com/morpheus65535/bazarr.git
. -
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 throughapt-get
anyway.
- You can now start bazarr via
python bazarr.py
to start bazarr. - 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
- Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2 /dev/null
- Install pyenv
brew install pyenv-virtualenv
- Add Homebrew Directory To Path
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
- Install Python 3.7
brew install python
- Add Python 3.7 Directory to Path
export PATH="/usr/local/opt/python/libexec/bin:$PATH"
- Install virtualenv
pip install virtualenv
- Create A Python 3.7 Virtual Environment
virtualenv -p /usr/local/bin/python venv
- Activate The Virtual Environment
source venv/bin/activate
- Change Directory To Applications
cd /Applications
- Get Bazarr
git clone https://github.com/morpheus65535/bazarr.git
- Change Directory To bazarr
cd bazarr
- Install bazarr requirements
python -m pip install -r requirements.txt
- 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.
-
Install the required software
pkg update && pkg install git python3 py3X-pip py3X-libxml2 libxslt py3X-sqlite3
wherepy3X
must be replaced with the Python3 version you use for Bazarr. -
cd /usr/local/share
-
Clone the repository using
git clone https://github.com/morpheus65535/bazarr.git
(this will download the files to/usr/local/share
) -
cd bazarr
-
Install Python requirements using
pip install -r requirements.txt
If you get this error message:
pip: Command not found
, you can refer to #642.
- Check if it works
python3 bazarr.py
. You should seeBAZARR is started and waiting for request on http://0.0.0.0:6767/