via: http://www.webupd8.org/2014/05/install-popcorn-time-in-ubuntu-or.html
To add the WebUpd8 Popcorn Time PPA and install the app in Ubuntu / Linux Mint (and elementary OS along with Ubuntu derivatives: Xubuntu, Kubuntu, etc.), use the following commands:
$ [sudo] add-apt-repository ppa:webupd8team/popcorntime
$ [sudo] apt-get update
$ [sudo] apt-get install popcorn-time
To install Popcorn Time from the WebUpd8 PPA repository in Debian, use the following commands:
su -
echo "deb http://ppa.launchpad.net/webupd8team/popcorntime/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-popcorntime.list
echo "deb-src http://ppa.launchpad.net/webupd8team/popcorntime/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-popcorntime.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
apt-get update
apt-get install popcorn-time
exit
Doesn't work anymore :( :( :( :(
shamim@shamim-H55H-M:~$ sudo add-apt-repository ppa:webupd8team/popcorntime
[sudo] password for shamim:
Cannot add PPA: 'ppa:~webupd8team/ubuntu/popcorntime'.
The team named '~webupd8team' has no PPA named 'ubuntu/popcorntime'
Please choose from the following available PPAs:
shamim@shamim-H55H-M:
$ apt-get update$ apt-get updateReading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
shamim@shamim-H55H-M:
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
shamim@shamim-H55H-M:
$ sudo apt-get update$ apt-get install popcorn-timeHit:1 http://mirror.dhakacom.com/ubuntu-archive bionic InRelease
Hit:2 http://mirror.dhakacom.com/ubuntu-archive bionic-updates InRelease
Hit:3 http://mirror.dhakacom.com/ubuntu-archive bionic-backports InRelease
Hit:4 http://mirror.dhakacom.com/ubuntu-archive bionic-security InRelease
Ign:5 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic InRelease
Hit:6 http://archive.canonical.com/ubuntu bionic InRelease
Hit:7 http://ppa.launchpad.net/papirus/papirus/ubuntu bionic InRelease
Ign:8 https://mega.nz/linux/MEGAsync/xUbuntu_17.10 ./ InRelease
Err:9 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Get:10 https://mega.nz/linux/MEGAsync/xUbuntu_17.10 ./ Release [980 B]
Ign:12 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:13 http://dl.google.com/linux/chrome/deb stable Release
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
shamim@shamim-H55H-M:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
shamim@shamim-H55H-M:
$ sudo apt-get install popcorn-time$Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package popcorn-time
shamim@shamim-H55H-M: