Difference between revisions of "Install Ubuntu"

From Ace Stream Wiki
Jump to: navigation, search
(Third party builds)
 
(6 intermediate revisions by 2 users not shown)
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 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 19: Line 22:
 
  <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 25: Line 28:
 
  <nowiki>/opt/acestream/start-engine --client-console</nowiki>
 
  <nowiki>/opt/acestream/start-engine --client-console</nowiki>
  
 +
<!--
 
The full list of available options is [[Engine_Configuration|here]]
 
The full list of available options is [[Engine_Configuration|here]]
 +
-->
  
 
== Installing Ace Stream Player ==
 
== 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:
+
=== Build from sources ===
 +
Player sources are here: https://bitbucket.org/AceStream/acestreamplayer
  
1. Add corresponding repository link to <tt>/etc/apt/sources.list</tt> file.
+
You can find build instructions in the project's readme.
  
2. Install public key:
+
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.
<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>
 
  
<nowiki></nowiki>
+
=== Third party builds ===
 +
You can also try some third-party builds of Ace Player, for example - https://github.com/Jcryton/acestreamplayer-2.2/releases
  
=== Build from sources ===
+
Please note, those builds are unofficial, and with any troubles encountered you should ask their authors for support.
Player sources are here: https://bitbucket.org/AceStream/acestreamplayer
+
 
 +
===Configure engine autorun===
 +
Ace Stream Player tries to connect to the engine and start it if it's not already started.
  
You can find build instructions in the project's readme.
+
Player executes this command to start engine:
 +
<nowiki>/usr/bin/acestreamengine --client-gtk</nowiki>
  
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.
+
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/bash
 +
ROOT=/opt/acestream
 +
LD_LIBRARY_PATH=${ROOT}/lib ${ROOT}/acestreamengine --lib-path ${ROOT} $@</nowiki>

Latest revision as of 16: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} $@