Development:Linux Development Environment

Installing on Ubuntu and its Derivates
''Ubuntu version 14.04 is recommended for the development setup. Prior versions are untested.''

Installation
Run this command to install all required packages:

user@linux:~$ sudo apt-get install python3 python3-pyqt4 python3-pyqt4.phonon python3-pyqt4.qtopengl python3-sqlalchemy python3-chardet python3-lxml python3-enchant python3-bs4 python3-mako python3-uno python3-mock python3-nose python3-pip

Alembic is not in the repositories, so you need to install it using pip:

user@linux:~$ sudo pip3 install alembic

Once you have the source code you can run OpenLP from source:

./openlp.py -l debug

Install PyQt4
The recommended version of PyQt4 is version 4.5.0 or higher

This will also install Qt and Phonon as dependencies

user@linux:~$ pkcon install python3-PyQt4

Install SQLAlchemy
The recommended version of SQLAlchemy is version 0.5 or higher

user@linux:~$ pkcon install python3-sqlalchemy python3-alembic

Install BeautifulSoup
user@linux:~$ pkcon install python3-beautifulsoup4

Install Chardet
To get the bibles to work with the unicode settings Chardet is required

user@linux:~$ pkcon install python3-chardet

Install PyEnchant
PyEnchant offers spellchecking functionality when editing songs/custom.

user@linux:~$ pkcon install python3-enchant

Install lxml
user@linux:~$ pkcon install python3-lxml

Install PyUno
PyUno offers integration with LibreOffice

user@linux:~$ pkcon install libreoffice-pyuno

Install Mock
Mock is used for testing

user@linux:~$ pkcon install python3-mock

Installing on openSUSE
'''Warning!!!!: The python-qt4 packages in OpenSUSE versions prior to 11.4 do not support Phonon so OpenLP will not run. If you want to run/develop OpenLP on OpenSUSE you should upgrade to 11.4 or 12.1'''

Add Python OBS Repository
user@opensuse:~ $ sudo zypper addrepo obs://devel:languages:python/openSUSE_12.1 python-obs

Install Dependencies
user@opensuse:~ $ sudo zypper install python-qt4 python-devel phonon python-beautifulsoup python-chardet python-pyenchant python-lxml python-mako python-sqlalchemy python-sqlalchemy-migrate hicolor-icon-theme libreoffice-impress libreoffice-pyuno

Installing on PCLinuxOS
PCLinuxOS is a fork of Mandriva, which uses RPM packages and the Advanced Packaging Tool to manage them. Unfortunately PCLinuxOS does not package all of the dependencies for OpenLP, but this is not a problem as the remaining dependencies are easily installable.

Installation
Run these commands to install all required packages:

[user@localhost ~]$ su Password: [root@localhost ~]# apt-get install qt4-designer qt4-linguist qt4-doc python-qt4 python-qt4-devel python-qt4-phonon python-qt4-gl python-qt4-webkit python-sqlalchemy python-lxml python-chardet python-mako python-beautifulsoup python-enchant

Now use  to install SQLAlchemy Migrate:

[root@localhost ~]# easy_install sqlalchemy-migrate

Installing on Gentoo
Work-in-progress notes for this on Development:Linux Development Environment/Gentoo

Installing on Arch Linux
[root@localhost ~]# pacman -S python python-pyqt4 phonon python-chardet python-lxml python-beautifulsoup4 python-pyenchant python-mako python-xdg python-nose python-sqlalchemy

Some packages have to be installed using pip or from AUR:

[user@localhost ~]$ yaourt -S python-pyicu python-pyodbc python-alembic python-mock