Difference between revisions of "Install Ubuntu"

From Ace Stream Wiki
Jump to: navigation, search
Line 1: Line 1:
 
== Installing Ace Stream Engine ==
 
== 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.
+
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
 
Here is an example how to install Ace Stream 3.1.14 for Ubuntu 14 in the folder /opt/acestream
Line 19: Line 19:
 
  <nowiki>/opt/acestream/start-engine</nowiki>
 
  <nowiki>/opt/acestream/start-engine</nowiki>
  
Engine have several operational mode and you must select one of them when starting. For example, to start client engine on Ubuntu with GTK GUI use this command:
+
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>
 
  <nowiki>/opt/acestream/start-engine --client-gtk</nowiki>
  
Line 30: Line 30:
 
===Install from repository===
 
===Install from repository===
 
Currently player is available in repositories for these systems:
 
Currently player is available in repositories for these systems:
* Ubuntu 12.04: deb http://repo.acestream.org/ubuntu/ precise main
+
* Ubuntu 12.04:
* Ubuntu 14.04: deb http://repo.acestream.org/ubuntu/ trusty main
+
<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:
 
To install player from repository follow these steps:
Line 44: Line 46:
 
3. Run player:
 
3. Run player:
 
  <nowiki>acestreamplayer</nowiki>
 
  <nowiki>acestreamplayer</nowiki>
 
<nowiki></nowiki>
 
  
 
=== Build from sources ===
 
=== Build from sources ===
Line 53: Line 53:
  
 
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.
 
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/sh
 +
ROOT=/opt/acestream
 +
LD_LIBRARY_PATH=${ROOT}/lib ${ROOT}/acestreamengine --lib-path ${ROOT} $@</nowiki>

Revision as of 09:58, 1 February 2017

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-m2crypto
sudo apt-get install python-apsw
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

The full list of available options is here

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} $@