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
@tarun1188
Copy link

@lauragift21 Do this if you're unable to launch the app.

sudo apt-get install libgconf-2-4

@fouedmen
Copy link

tarun 1188 may you be blessed dude

@shubhamcommits
Copy link

@tarun1188, thanks for the info, I was stuck there as well.

@NicolasRussillo
Copy link

exelent for experienced linux user, a bit confusing for new ones

@entwwwicklung
Copy link

@taurun1188, you are life saver!

@mawcuzz
Copy link

mawcuzz commented Jul 14, 2018

Followed instructions and still cannot get app to execute.

@bilalmgithub
Copy link

Followed the instructions as mentioned on Ubuntu 18.04, works perfectly.
Thanks!

@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