Skip to content

Instantly share code, notes, and snippets.

@flyingluscas
Last active April 19, 2023 01:51
Show Gist options
  • Star 64 You must be signed in to star a gist
  • Fork 12 You must be signed in to fork a gist
  • 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
@wittyp
Copy link

wittyp commented Oct 7, 2017

hey, so what happens after step 4 .$ sudo nano /usr/share/applications/popcorntime.desktop???? im stuck and obviously im a noob :p
thnx

@abhaymaniyar
Copy link

You just have to paste the following content to that popcorntime.desktop file and save it using any text editor you like. Here the instruction is when you want to use nano as your text editor for the task.

Version=1.0
Type=Application
Terminal=false
Name=Butter
Exec=/opt/popcorntime/Popcorn-Time
Icon=/opt/popcorntime/src/app/images/icon.png
Categories=Application;```

@jdaviescoates
Copy link

Thanks for this. I've got an old version of Popcorntime CE (0.4.1-5 Beta - New Year's Eve in front of the door - 28 December 2016) associated with popcorntime.ag that I think I need to uninstall first to get this working, but struggling to work out how to do so, can you help by any chance?

@jdaviescoates
Copy link

Oh, but maybe I don't want this version here at all as according to this http://popcorn-time.is/official-statement.html#Malware2 the popcorntime.sh version has malware :-/

@ssi-anik
Copy link

ssi-anik commented Nov 17, 2017

If you're using Ubuntu that makes sense that you at least know that popcorn.sh is the website and you can download the latest release from there. 😄
Thanks for the procedure brother.

@ForrestSakib
Copy link

hi, I am not able to run the second option. its downloading. but not unpacking. what should i do?

@TuyenGa
Copy link

TuyenGa commented Feb 6, 2018

thanks you.

@airik173
Copy link

I'm a noob to linux. I followed the above steps but I'm missing something.....how to I launch popcorntime?

Copy link

ghost commented Mar 4, 2018

I managed to add app to desktop in a LMint by creating a new app shortcut in the desktop context menu. That's the only way it worked.

@lu1s
Copy link

lu1s commented Mar 14, 2018

Thanks!!!! Now you just can search for butter or popcorn on the gnome search and it's registered :)

How can we create a deb package with all these steps? That'd be awesome.

@wajdibeltaifa
Copy link

wajdibeltaifa commented Apr 5, 2018

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

@lauragift21
Copy link

I tried the above but after execution of step 4, I wasn't able to launch the application. 😢

@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