Changes

Jump to: navigation, search

Install Ubuntu

2,812 bytes added, 20:37, 20 December 2017
Configure engine autorun
== Installing Ace Stream Engine == To run Ace Stream Engine you need to install some dependencies, download a tarball and unpack it in any folder you want. After that engine can be run from that folder with simple shell script included in the package. Here is an example how to install Ace Stream 3.1.14 for Ubuntu 14 in the folder /opt/acestream 1. Download the latest version (you can find actual links [[Download|here]]) <nowiki>wget "http://dl.acestream.org/linux/acestream_3.1.14-b4_ubuntu_1414_ubuntu_14.04_x86_64.tar.gz"</nowiki>
2. Unpack tarball:
<nowiki>tar zxvf acestream_3.1.14-b4_ubuntu_1414_ubuntu_14.04_x86_64.tar.gz</nowiki>3. Move Ace Stream to the selected folder: <nowiki>mv acestream_3.1.14_ubuntu_14.04_x86_64 /opt/acestream</nowiki>4. Install dependencies: <nowiki>sudo apt-get install python-setuptoolssudo apt-get install python-m2cryptosudo apt-get install python-apsw</nowiki>5. Optional dependencies to use GTK GUI: <nowiki>sudo apt-get install python-gtk2sudo apt-get install python-appindicator</nowiki> Now you can run engine with this command: <nowiki>/opt/acestream/start-engine</nowiki> Engine have several operational modes and you must select one of them when starting. For example, to start client engine on Ubuntu with GTK GUI use this command: <nowiki>/opt/acestream/start-engine --client-gtk</nowiki> To start client engine without GUI: <nowiki>/opt/acestream/start-engine --client-console</nowiki> <!--The full list of available options is [[Engine_Configuration|here]]--> == Installing Ace Stream Player =====Install from repository===Currently player is available in repositories for these systems:* Ubuntu 12.04: <nowiki>deb http://repo.acestream.org/ubuntu/ precise main</nowiki>* Ubuntu 14.04: <nowiki>deb http://repo.acestream.org/ubuntu/ trusty main</nowiki> To install player from repository follow these steps: 1. Add corresponding repository link to <tt>/etc/apt/sources.list</tt> file. 2. Install public key: <nowiki>sudo wget -O - http://repo.acestream.org/keys/acestream.public.key | sudo apt-key add -</nowiki>3. Install player: <nowiki>sudo apt-get updatesudo apt-get install acestream-player</nowiki>3. Run player: <nowiki>acestreamplayer</nowiki> === Build from sources ===Player sources are here: https://bitbucket.org/AceStream/acestreamplayer You can find build instructions in the project's readme. Please note that you have to get a valid product key to build fully operational player. There are more details about this in the readme. ===Configure engine autorun===Ace Stream Player tries to connect to the engine and start it if it's not already started. Player executes this command to start engine: <nowiki>/usr/bin/acestreamengine --client-gtk</nowiki> To make this work you need to create <tt>/usr/bin/acestreamengine</tt> shell script which points to the folder where you have installed engine in. For example, if you have installed engine in <tt>/opt/acestream</tt> then the script will be: <nowiki>#!/bin/bashROOT=/opt/acestreamLD_LIBRARY_PATH=${ROOT}/lib ${ROOT}/acestreamengine --lib-path ${ROOT} $@</nowiki>

Navigation menu