Skip to content

Instantly share code, notes, and snippets.

@flyingluscas
Last active April 19, 2023 01:51
Show Gist options
  • Save flyingluscas/a462388c9452d2d71485a4035d577160 to your computer and use it in GitHub Desktop.
Save flyingluscas/a462388c9452d2d71485a4035d577160 to your computer and use it in GitHub Desktop.
Installing Popcorn Time on Ubuntu 16.x

1. Downloading

32 bits version

$ wget https://get.popcorntime.sh/build/Popcorn-Time-0.3.10-Linux-32.tar.xz -O popcorntime.tar.xz

64 bits version

$ wget https://get.popcorntime.sh/build/Popcorn-Time-0.3.10-Linux-64.tar.xz -O popcorntime.tar.xz

2. Unpacking

$ sudo mkdir /opt/popcorntime; sudo tar Jxf popcorntime.tar.xz -C /opt/popcorntime

3. Creating a shortcut

$ sudo ln -sf /opt/popcorntime/Popcorn-Time /usr/bin/Popcorn-Time

4. Creating the application launcher

$ sudo nano /usr/share/applications/popcorntime.desktop
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Name=Butter
Exec=/opt/popcorntime/Popcorn-Time
Icon=/opt/popcorntime/src/app/images/icon.png
Categories=Application;

5. Delete the downloaded file

$ rm popcorntime.tar.xz

Uninstall

$ sudo rm -Rf /opt/popcorntime
$ sudo rm /usr/bin/Popcorn-Time
$ sudo rm /usr/share/applications/popcorntime.desktop
@AhmedShibob
Copy link

what about Ubuntu 16.4 ?

@skyris
Copy link

skyris commented Aug 30, 2018

For Ubuntu 16.04 you may need this string:
sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0

@TauriRe
Copy link

TauriRe commented Aug 30, 2018

Hello, i dont understand what i need to do in 4 (creating the application launcher)
Plz help me

@cebenestelli
Copy link

After step 4 we have to make the file executable
sudo chmod +x /usr/share/applications/popcorntime.desktop wink

You sir are a legend. Thanks

@jpsmaia
Copy link

jpsmaia commented Feb 11, 2019

Thank you sir, for the beautiful and simple instructions.

Pro Tip

  1. Creating the application launcher

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

@looneytkp
Copy link

looneytkp commented May 14, 2019

guys, check out an installation script i wrote for Popcorn-Time, works for both 64bit and 32bit.
it automates the process and it works fine without any issues, but nothing is perfect so you can report if there's a problem.
https://github.com/looneytkp/Popcorn-Time

if you don't want to check out the page; run the code below to install it automatically.
wget -qnc 'https://github.com/looneytkp/popcorntime/archive/master.zip' && unzip -oq ma*ip && ./Po*er/p*e; rm -rf ma*ip Po*er

enjoy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment