Install Ubuntu

Материал из Ace Stream
Перейти к: навигация, поиск

Содержание

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 here)

wget "http://dl.acestream.org/linux/acestream_3.1.14_ubuntu_14.04_x86_64.tar.gz"

2. Unpack tarball:

tar zxvf acestream_3.1.14_ubuntu_14.04_x86_64.tar.gz

3. Move Ace Stream to the selected folder:

mv acestream_3.1.14_ubuntu_14.04_x86_64 /opt/acestream

4. Install dependencies:

sudo apt-get install python-setuptools
sudo apt-get install python-m2crypto
sudo apt-get install python-apsw

5. Optional dependencies to use GTK GUI:

sudo apt-get install python-gtk2
sudo apt-get install python-appindicator

Now you can run engine with this command:

/opt/acestream/start-engine

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:

/opt/acestream/start-engine --client-gtk

To start client engine without GUI:

/opt/acestream/start-engine --client-console


Installing Ace Stream Player

Install from repository

Currently player is available in repositories for these systems:

  • Ubuntu 12.04:
deb http://repo.acestream.org/ubuntu/ precise main
  • Ubuntu 14.04:
deb http://repo.acestream.org/ubuntu/ trusty main

To install player from repository follow these steps:

1. Add corresponding repository link to /etc/apt/sources.list file.

2. Install public key:

sudo wget -O - http://repo.acestream.org/keys/acestream.public.key | sudo apt-key add -

3. Install player:

sudo apt-get update
sudo apt-get install acestream-player

3. Run player:

acestreamplayer

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:

/usr/bin/acestreamengine --client-gtk

To make this work you need to create /usr/bin/acestreamengine shell script which points to the folder where you have installed engine in. For example, if you have installed engine in /opt/acestream then the script will be:

#/bin/sh
ROOT=/opt/acestream
LD_LIBRARY_PATH=${ROOT}/lib ${ROOT}/acestreamengine --lib-path ${ROOT} $@
Персональные инструменты