Introduction
Popcorn Time streams movies and TV shows from torrents directly into your screen.
Objective
The objective is to install Popcorn Time player on CentOS 7.
Requirements
Optional privileged access to your CentOS is required if system-wide installation is required.
Difficulty
EASY
Conventions
- # – requires given linux commands to be executed with root privileges either directly as a root user or by use of
sudo
command - $ – requires given linux commands to be executed as a regular non-privileged user
Instructions
Prerequisites
First install some tools to be used for the Popcorn Time installation:
# yum install wget xz
Popcorn Time Installation
Please note that, if you experience the bellow error message with version 0.3.10, try to install older Popcorn Time version.
Illegal instruction (core dumped)
Popcorn Time Version 0.3.9
32-bit
# mkdir /opt/popcorn-time; wget -qO- https://get.popcorntime.sh/build/Popcorn-Time-0.3.9-Linux-32.tar.xz | unxz | tar x -C /opt/popcorn-time # ln -sf /opt/popcorn-time/linux64/Popcorn-Time /usr/bin/popcorn-time
64-bit
# mkdir /opt/popcorn-time; wget -qO- https://get.popcorntime.sh/build/Popcorn-Time-0.3.9-Linux-64.tar.xz | unxz | tar x -C /opt/popcorn-time # ln -sf /opt/popcorn-time/linux64/Popcorn-Time /usr/bin/popcorn-time
Popcorn Time Version 0.3.10
32-bit
# mkdir /opt/popcorn-time; wget -qO- https://get.popcorntime.sh/build/Popcorn-Time-0.3.10-Linux-32.tar.xz | unxz | tar x -C /opt/popcorn-time # ln -sf /opt/popcorn-time/Popcorn-Time /usr/bin/popcorn-time
64-bit
# mkdir /opt/popcorn-time; wget -qO- https://get.popcorntime.sh/build/Popcorn-Time-0.3.10-Linux-64.tar.xz | unxz | tar x -C /opt/popcorn-time # ln -sf /opt/popcorn-time/Popcorn-Time /usr/bin/popcorn-time
Create Desktop Launcher
Use your text editor to create a new /usr/share/applications/popcorntime.desktop
file with the below content:
[Desktop Entry] Version = 1.0 Type = Application Terminal = false Name = Popcorn Time Exec = /usr/bin/popcorn-time Icon = /opt/popcorn-time/popcorntime.png Categories = Application;
As a last step download Popcorn Time’s icon:
# wget -q -O /opt/popcorn-time/popcorntime.png https://upload.wikimedia.org/wikipedia/commons/6/6c/Popcorn_Time_logo.png
