Skip to content

Instantly share code, notes, and snippets.

@flyingluscas
Last active April 19, 2023 01:51
Show Gist options
  • Select an option

  • Save flyingluscas/a462388c9452d2d71485a4035d577160 to your computer and use it in GitHub Desktop.

Select an option

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

wittyp commented Oct 7, 2017

Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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

ssi-anik commented Nov 17, 2017

Copy link
Copy Markdown

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
Copy Markdown

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

@TuyenGa

TuyenGa commented Feb 6, 2018

Copy link
Copy Markdown

thanks you.

@airik173

Copy link
Copy Markdown

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

ghost commented Mar 4, 2018

Copy link
Copy Markdown

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

lu1s commented Mar 14, 2018

Copy link
Copy Markdown

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

wajdibeltaifa commented Apr 5, 2018

Copy link
Copy Markdown

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

@lauragift21

Copy link
Copy Markdown

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

@tarun1188

Copy link
Copy Markdown

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

sudo apt-get install libgconf-2-4

@fouedmen

Copy link
Copy Markdown

tarun 1188 may you be blessed dude

@shubhamcommits

Copy link
Copy Markdown

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

@NicolasRussillo

Copy link
Copy Markdown

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

@entwwwicklung

Copy link
Copy Markdown

@taurun1188, you are life saver!

@mawcuzz

mawcuzz commented Jul 14, 2018

Copy link
Copy Markdown

Followed instructions and still cannot get app to execute.

@bilalmgithub

Copy link
Copy Markdown

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

@AhmedShibob

Copy link
Copy Markdown

what about Ubuntu 16.4 ?

@skyris

skyris commented Aug 30, 2018

Copy link
Copy Markdown

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

TauriRe commented Aug 30, 2018

Copy link
Copy Markdown

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

@cebenestelli

Copy link
Copy Markdown

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

jpsmaia commented Feb 11, 2019

Copy link
Copy Markdown

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

looneytkp commented May 14, 2019

Copy link
Copy Markdown

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