How to install Popcorn Time using installer from their official site? [duplicate]

Updated answer: June 2019

  1. Download PopCorn Time for Linux.
  2. Open a Terminal (Ctrl+Alt+T ) :

    cd ~/Downloads
    sudo mkdir /opt/popcorntime
    sudo tar -xf Popcorn-Time-*.tar.xz -C /opt/popcorntime
    

    (You can now run Popcorntime with :)

    /opt/popcorntime/Popcorn-Time
    
  3. Create the application launcher

    sudo ln -sf /opt/popcorntime/Popcorn-Time /usr/bin/Popcorn-Time
    sudo gedit /usr/share/applications/popcorntime.desktop
    

    And enter the following content :

    [Desktop Entry]
    Version=1.0
    Type=Application
    Terminal=false
    Name=PopCorn Time
    Exec=/opt/popcorntime/Popcorn-Time
    Icon=/opt/popcorntime/src/app/images/icon.png
    Categories=Application;