Difference between revisions of "Install Ubuntu"

From Ace Stream Wiki
Jump to: navigation, search
(Third party builds)
 
(4 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
  <nowiki>mv acestream_3.1.14_ubuntu_14.04_x86_64 /opt/acestream</nowiki>
 
  <nowiki>mv acestream_3.1.14_ubuntu_14.04_x86_64 /opt/acestream</nowiki>
 
4. Install dependencies:
 
4. Install dependencies:
  <nowiki>sudo apt-get install python-m2crypto
+
  <nowiki>sudo apt-get install python-setuptools
sudo apt-get install python-apsw
+
sudo apt-get install python-m2crypto
 +
sudo apt-get install python-apsw</nowiki>
 +
5. Optional dependencies to use GTK GUI:
 +
<nowiki>sudo apt-get install python-gtk2
 
sudo apt-get install python-appindicator</nowiki>
 
sudo apt-get install python-appindicator</nowiki>
  
Line 30: Line 33:
  
 
== Installing Ace Stream Player ==
 
== 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 update
 
sudo apt-get install acestream-player</nowiki>
 
3. Run player:
 
<nowiki>acestreamplayer</nowiki>
 
  
 
=== Build from sources ===
 
=== Build from sources ===
Line 55: Line 40:
  
 
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.
 +
 +
=== Third party builds ===
 +
You can also try some third-party builds of Ace Player, for example - https://github.com/Jcryton/acestreamplayer-2.2/releases
 +
 +
Please note, those builds are unofficial, and with any troubles encountered you should ask their authors for support.
  
 
===Configure engine autorun===
 
===Configure engine autorun===
Line 63: Line 53:
  
 
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:
 
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
+
  <nowiki>#!/bin/bash
 
ROOT=/opt/acestream
 
ROOT=/opt/acestream
 
LD_LIBRARY_PATH=${ROOT}/lib ${ROOT}/acestreamengine --lib-path ${ROOT} $@</nowiki>
 
LD_LIBRARY_PATH=${ROOT}/lib ${ROOT}/acestreamengine --lib-path ${ROOT} $@</nowiki>

Latest revision as of 15:58, 16 July 2020

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

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.

Third party builds

You can also try some third-party builds of Ace Player, for example - https://github.com/Jcryton/acestreamplayer-2.2/releases

Please note, those builds are unofficial, and with any troubles encountered you should ask their authors for support.

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/bash
ROOT=/opt/acestream
LD_LIBRARY_PATH=${ROOT}/lib ${ROOT}/acestreamengine --lib-path ${ROOT} $@