Skip to content

Instantly share code, notes, and snippets.

@rajeevkannav
Forked from flyingluscas/InstallPopcornTime.md
Created December 8, 2018 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rajeevkannav/2f3c1406e37cc9c2ac6de84b2bb80823 to your computer and use it in GitHub Desktop.
Save rajeevkannav/2f3c1406e37cc9c2ac6de84b2bb80823 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment