Installing AceStream on Ubuntu 16.04

First things first, I am not a technical person and this is a ‘How To’ guide based on personal experience only and published with the aim to facilitate other users. I can, therefore, not help with any installation related errors. My sources of this ‘How To’ are:

https://www.reddit.com/r/ACEstream/comments/4t4k7e/acestream_for_ubuntu_1604/

http://compizomania.blogspot.com/2016/07/ace-stream-ubuntu-1604linux-mint-18.html

My only contribution is detailing the installation process in a simple to follow manner with a solution to one complication which I came across.

So here goes.

The installation is on a 64bit system running Ubuntu 16.04. For a 32bit system, the process will be the same only package files will need to be changed (refer to the above-mentioned sources for 32bit files).

As the official repositories for AceStream are not available (God knows when they will be!), the following applications are needed before proceeding with installation:

  • Gdebi package manager (mandatory)
  • Synaptic (optional but recommended in case the installation runs into problems)

Packages required:

All the acestream packages are available from https://drive.google.com/drive/u/0/folders/0B7AdLMiZn4FzQ1hLZWxaQ19YY2c

Step 1: Download all the 5 packages

Step 2: Install the packages manually in the order mentioned below using gdebi package manager (it is recommended to use terminal as any errors to the installation will be visible)

  • # sudo gebi /path to*/libgnutels-deb0-28_3.3.15-5ubuntu2_amd64.deb
  • # sudo gebi /path to*/acestream-player-compat_3.0.2-1.1_amd64.deb
  • # sudo gebi /path to*/acestream-engine_3.0.3-0.2_amd64.deb
  • # sudo gebi /path to*/acestream-player-data_3.0.2-1.1_amd64.deb
  • # sudo gebi /path to*/acestream-player_3.0.2-1.1_amd64.deb

*replace path to with the exact path where you have downloaded the packages

Make sure that the acestream-player_3.0.2-1.1_amd64.deb is the last package to be installed

Hopefully the installation will go through smoothly. In my case, however, the acestream-player-compat_3.0.2-1.1_amd64.deb package failed to install showing errors of the kind:

dpkg: error processing archive acestream-player-compat_3.0.2-1.1_amd64.deb (–install):

trying to overwrite ‘/usr/lib/x86_64-linux-gnu/libvpx.so.1’, which is also in package libvpx1:amd64 1.3.0-2

dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

This error would normally occur if you had a prior installation of AceStream. You need to first remove the old AceStream and all of its dependencies, and then reinstall.

Follow these steps (requires Synaptic package manager):

Run the command

# sudo apt-get install -f (to fix any broken (deferred) packages).

Open Synaptic package manager and locate all packages related to AceStream, using the built-in search for “acestream”.

  • Mark all package for complete removal and then apply the changes.
  • Close Synaptic.

Open terminal and run the following commands

# sudo apt-get autoremove

# sudo apt-get autoclean

Any packages causing conflicts during installation of the acestream-player-compat package (libvpx1 in my case) must be removed.

Open Synaptic, search for the package and if not removed, remove manually.

After cleaning the system and removing all conflicting packages follow the installation process detailed in the first part.

How to Setup AceStream in Ubuntu 14.04 64bit

Since repository AceStream TV for Ubuntu 14.04 is not yet established, use Ubuntu 13.04 repository:
echo ‘deb http://repo.acestream.org/ubuntu/ raring main’ | sudo tee /etc/apt/sources.list.d/acestream.list 
Set the public key to the repository:
sudo wget -O – http://repo.acestream.org/keys/acestream.public.key | sudo apt-key add
sudo apt-get update
Download acestream-engine and all needed dependencies from the following archive:
Extract the files in your Home folder:
cd Ace-stream-U14.04
sudo dpkg -i acestream-engine-fix-Ubuntu_14.04.deb
Install missing dependencies:
sudo apt-get install python-apsw python-m2crypto
For 64-bit systems: 
cd /tmp && wget http://cz.archive.ubuntu.com/ubuntu/pool/universe/liba/libav-extra/libavutil-extra-51_0.8.10ubuntu0.12.04.1_amd64.deb http://cz.archive.ubuntu.com/ubuntu/pool/universe/libd/libdvbpsi/libdvbpsi7_0.2.2-1_amd64.deb http://cz.archive.ubuntu.com/ubuntu/pool/universe/libe/libebml/libebml3_1.2.2-2_amd64.deb http://cz.archive.ubuntu.com/ubuntu/pool/universe/libm/libmatroska/libmatroska5_1.3.0-1_amd64.deb http://cz.archive.ubuntu.com/ubuntu/pool/universe/x/x264/libx264-120_0.120.2151+gita3f4407-2_amd64.deb http://cz.archive.ubuntu.com/ubuntu/pool/universe/x/x264/libx264-123_0.123.2189+git35cf912-1_amd64.deb http://cz.archive.ubuntu.com/ubuntu/pool/universe/liba/libav-extra/libavcodec-extra-53_0.8.10ubuntu0.12.04.1_amd64.deb http://cz.archive.ubuntu.com/ubuntu/pool/universe/liba/libav-extra/libavformat-extra-53_0.8.10ubuntu0.12.04.1_amd64.deb http://cz.archive.ubuntu.com/ubuntu/pool/universe/liba/libav-extra/libavdevice-extra-53_0.8.10ubuntu0.12.04.1_amd64.deb && sudo dpkg -i *.deb 
Install AceStream:
sudo apt-get install acestream-full
Now mark the AceStream Engine to stop it from updating.
sudo apt-mark hold acestream-engine
 
Enjoy!
Thanks to   (http://compizomania.blogspot.com/2014/04/acestream-ubuntu-1404.html) who listed the detailed How-to. I have slightly modified it based on my own install experience.