2013-03-14 03:02:31 +01:00
.. _install:
2013-09-29 22:01:31 +02:00
Installing
==========
2013-03-14 03:02:31 +01:00
2013-09-29 22:01:31 +02:00
Source
------
2013-03-14 03:02:31 +01:00
The latest stable version is available to install using `pip <http://www.pip-installer.org/> `_ :
.. code-block :: console
# pip install livestreamer
But you can also get the development version using `Git <http://git-scm.com/> `_ :
.. code-block :: console
$ git clone git://github.com/chrippa/livestreamer.git
$ cd livestreamer
# python setup.py install
2013-09-29 22:01:31 +02:00
`The Hitchhiker’ s Guide to Python <http://docs.python-guide.org/> `_ has guides
helping you install Python + pip on the most common operating systems.
2013-03-14 03:02:31 +01:00
Dependencies
2013-09-29 22:01:31 +02:00
^^^^^^^^^^^^
2013-03-14 03:02:31 +01:00
2013-07-06 19:52:21 +02:00
Livestreamer currently depends on these libraries/programs to function.
2013-03-14 03:02:31 +01:00
To run the setup script you need:
- `Python <http://python.org/> `_ (at least version 2.6) or `PyPy <http://pypy.org/> `_
2013-09-29 22:01:31 +02:00
- `python-setuptools <http://pypi.python.org/pypi/setuptools> `_
2013-03-14 03:02:31 +01:00
These will be installed automatically by the setup script if they are missing:
- `python-argparse <http://pypi.python.org/pypi/argparse> `_ (only needed on Python version <2.7 and <3.2)
- `python-requests <http://docs.python-requests.org/> `_ (at least version 1.0)
Optional dependencies
2013-09-29 22:01:31 +02:00
^^^^^^^^^^^^^^^^^^^^^
2013-03-14 03:02:31 +01:00
For RTMP based plugins:
2013-12-14 20:04:46 +01:00
- `RTMPDump <http://rtmpdump.mplayerhq.hu/> `_
2013-03-14 03:02:31 +01:00
For decrypting encrypted HLS streams:
- `PyCrypto <https://www.dlitz.net/software/pycrypto/> `_
2013-09-29 22:01:31 +02:00
For full UStream.tv support:
- `python-librtmp <https://github.com/chrippa/python-librtmp> `_
2013-11-03 01:11:20 +01:00
Distribution packages
---------------------
2013-09-29 22:01:31 +02:00
2013-11-03 01:11:20 +01:00
Livestreamer is also available in these package repositories:
- `Arch Linux <https://www.archlinux.org/packages/community/any/livestreamer/> `_
2013-12-02 00:52:13 +01:00
- `FreeBSD <http://www.freshports.org/multimedia/livestreamer> `_
2013-11-03 01:11:20 +01:00
- `Gentoo Linux <https://packages.gentoo.org/package/net-misc/livestreamer> `_
- `OpenBSD <http://openports.se/multimedia/livestreamer> `_
2013-09-29 22:01:31 +02:00
Windows
^^^^^^^
Livestreamer is primarily developed for Unix-like operating systems where using a CLI is common. There is however a installer available for brave Windows users who don't mind using the command prompt.
The installer can be `downloaded from Github <https://github.com/chrippa/livestreamer/releases> `_ . It contains a precompiled version of Livestreamer that does not require you to install any of the dependencies.