如何在 Ubuntu 18.04 上安装 Popcorn Time
视频

> 
> 简要：这篇教程展示给你如何在 Ubuntu 和其他 Linux 发行版上安装 Popcorn Time，也会讨论一些 Popcorn Time 的便捷操作。
> 
> 
> 


[Popcorn Time](https://popcorntime.sh/) 是一个受 [Netflix](https://netflix.com/) 启发的开源的 [torrent](https://en.wikipedia.org/wiki/Torrent_file) 流媒体应用，可以在 Linux、Mac、Windows 上运行。


传统的 torrent，在你看影片之前必须等待它下载完成。


[Popcorn Time](https://en.wikipedia.org/wiki/Popcorn_Time) 有所不同。它的使用基于 torrent，但是允许你（几乎）立即开始观看影片。它跟你在 Youtube 或者 Netflix 等流媒体网页上看影片一样，无需等待它下载完成。


![Popcorn Time in Ubuntu Linux](/data/attachment/album/201810/05/073733v89l2h1twfll09uw.jpg)


如果你不想在看在线电影时被突如其来的广告吓倒的话，Popcorn Time 是一个不错的选择。不过要记得，它的播放质量依赖于当前网络中可用的<ruby> 种子 <rt>  seed </rt></ruby>数。


Popcorn Time 还提供了一个不错的用户界面，让你能够浏览可用的电影、电视剧和其他视频内容。如果你曾经[在 Linux 上使用过 Netflix](https://itsfoss.com/netflix-firefox-linux/)，你会发现两者有一些相似之处。


有些国家严格打击盗版，所以使用 torrent 下载电影是违法行为。在类似美国、英国和西欧等一些国家，你或许曾经收到过法律声明。也就是说，是否使用取决于你。已经警告过你了。


Popcorn Time 一些主要的特点：


* 使用 Torrent 在线观看电影和电视剧
* 有一个时尚的用户界面让你浏览可用的电影和电视剧资源
* 调整流媒体的质量
* 标记为稍后观看
* 下载为离线观看
* 可以默认开启字幕，改变字母尺寸等
* 使用键盘快捷键浏览


### 如何在 Ubuntu 和其它 Linux 发行版上安装 Popcorn Time


这篇教程以 Ubuntu 18.04 为例，但是你可以使用类似的说明，在例如 Linux Mint、Debian、Manjaro、Deepin 等 Linux 发行版上安装。


Popcorn Time 在 Deepin Linux 的软件中心中也可用。Manjaro 和 Arch 用户也可以轻松地使用 AUR 来安装 Popcorn Time。


接下来我们看该如何在 Linux 上安装 Popcorn Time。事实上，这个过程非常简单。只需要按照说明操作复制粘贴我提到的这些命令即可。


#### 第一步：下载 Popcorn Time


你可以从它的官网上安装 Popcorn Time。下载链接在它的主页上。


* [下载 Popcorn Time](https://popcorntime.sh/)


#### 第二步：安装 Popcorn Time


下载完成之后，就该使用它了。下载下来的是一个 tar 文件，在这些文件里面包含有一个可执行文件。你可以把 tar 文件提取在任何位置，[Linux 常把附加软件安装在](http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/opt.html) [/opt 目录](http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/opt.html)。


在 `/opt` 下创建一个新的目录：



```
sudo mkdir /opt/popcorntime
```

现在进入你下载文件的文件夹中，比如我把 Popcorn Time 下载到了主目录的 Downloads 目录下。



```
cd ~/Downloads
```

提取下载好的 Popcorn Time 文件到新创建的 `/opt/popcorntime` 目录下：



```
sudo tar Jxf Popcorn-Time-* -C /opt/popcorntime  
```

#### 第三步：让所有用户可以使用 Popcorn Time


如果你想要系统中所有的用户无需经过 `sudo` 就可以运行 Popcorn Time。你需要在 `/usr/bin` 目录下创建一个[符号链接（软链接）](https://en.wikipedia.org/wiki/Symbolic_link)指向这个可执行文件。



```
ln -sf /opt/popcorntime/Popcorn-Time /usr/bin/Popcorn-Time  
```

#### 第四步：为 Popcorn Time 创建桌面启动器


到目前为止，一切顺利，但是你也许想要在应用菜单里看到 Popcorn Time，又或是想把它添加到最喜欢的应用列表里等。


为此，你需要创建一个桌面入口。


打开一个终端窗口，在 `/usr/share/applications` 目录下创建一个名为 `popcorntime.desktop` 的文件。


你可以使用任何[基于命令行的文本编辑器](https://itsfoss.com/command-line-text-editors-linux/)。Ubuntu 默认安装了 [Nano](https://itsfoss.com/nano-3-release/)，所以你可以直接使用这个。



```
sudo nano /usr/share/applications/popcorntime.desktop
```

在里面插入以下内容：



```
[Desktop Entry]  
Version = 1.0  
Type = Application  
Terminal = false  
Name = Popcorn-Time  
Exec = /usr/bin/Popcorn-Time  
Icon = /opt/popcorntime/popcorn.png  
Categories = Application;  
```

如果你使用的是 Nano 编辑器，使用 `Ctrl+X` 保存输入的内容，当询问是否保存时，输入 `Y`，然后按回车保存并退出。


就快要完成了。最后一件事就是为 Popcorn Time 设置一个正确的图标。你可以下载一个 Popcorn Time 图标到 `/opt/popcorntime` 目录下，并命名为 `popcorn.png`。


你可以使用以下命令：



```
sudo wget -O /opt/popcorntime/popcorn.png https://upload.wikimedia.org/wikipedia/commons/d/df/Pctlogo.png
```

这样就 OK 了。现在你可以搜索 Popcorn Time 然后点击启动它了。


![Popcorn Time installed on Ubuntu](/data/attachment/album/201810/05/073733ocmoysmte080zkxt.jpg)


*在菜单里搜索 Popcorn Time*


第一次启动时，你必须接受这些条款和条件。


![Popcorn Time in Ubuntu](/data/attachment/album/201810/05/073733cjzjpppptphv4ptv.jpg)


*接受这些服务条款*


一旦你完成这些，你就可以享受你的电影和电视节目了。


![Watch movies on Popcorn Time](/data/attachment/album/201810/05/073734fofrm4wm27y31gos.jpg)


好了，这就是所有你在 Ubuntu 或者其他 Linux 发行版上安装 Popcorn Time 所需要的了。你可以直接开始看你最喜欢的影视节目了。


### 高效使用 Popcorn Time 的七个小贴士


现在你已经安装好了 Popcorn Time 了，我接下来将要告诉你一些有用的 Popcorn Time 技巧。我保证它会增强你使用 Popcorn Time 的体验。


#### 1、 使用高级设置


始终启用高级设置。它给了你更多的选项去调整 Popcorn Time 点击右上角的齿轮标记。查看其中的高级设置。


![](/data/attachment/album/201810/05/073734ubnzzbah7c06brhc.jpg)


#### 2、 在 VLC 或者其他播放器里观看影片


你知道你可以选择自己喜欢的播放器而不是 Popcorn Time 默认的播放器观看一个视频吗？当然，这个播放器必须已经安装在你的系统上了。


现在你可能会问为什么要使用其他的播放器。我的回答是：其他播放器可以弥补 Popcorn Time 默认播放器上的一些不足。


例如，如果一个文件的声音非常小，你可以使用 VLC 将音频声音增强 400%，你还可以[使用 VLC 同步不连贯的字幕](https://itsfoss.com/how-to-synchronize-subtitles-with-movie-quick-tip/)。你可以在播放文件之前在不同的媒体播放器之间进行切换。


![](/data/attachment/album/201810/05/073734btkr8rkt8rirukrd.png)


#### 3、 将影片标记为稍后观看


只是浏览电影和电视节目，但是却没有时间和精力去看？这不是问题。你可以添加这些影片到书签里面，稍后可以在 Faveriate 标签里面访问这些影片。这可以让你创建一个你想要稍后观看的列表。


![](/data/attachment/album/201810/05/073735de5ykyy8477pf7yh.png)


#### 4、 检查 torrent 的信息和种子信息


像我之前提到的，你在 Popcorn Time 的观看体验依赖于 torrent 的速度。好消息是 Popcorn Time 显示了 torrent 的信息，因此你可以知道流媒体的速度。


你可以在文件上看到一个绿色/黄色/红色的点。绿色意味着有足够的种子，文件很容易播放。黄色意味着有中等数量的种子，应该可以播放。红色意味着只有非常少可用的种子，播放的速度会很慢甚至无法观看。


![](/data/attachment/album/201810/05/073735m6zw4u48d5qg4115.jpg)


#### 5、 添加自定义字幕


如果你需要字幕而且它没有你想要的语言，你可以从外部网站下载自定义字幕。得到 .src 文件，然后就可以在 Popcorn Time 中使用它：


![](/data/attachment/album/201810/05/073736h28n98nmhb9n2072.png)


你可以[用 VLC 自动下载字幕](https://itsfoss.com/download-subtitles-automatically-vlc-media-player-ubuntu/)。


#### 6、 保存文件离线观看


用 Popcorn Time 播放内容时，它会下载并暂时存储这些内容。当你关闭 APP 时，缓存会被清理干净。你可以更改这个操作，使得下载的文件可以保存下来供你未来使用。


在高级设置里面，向下滚动一点。找到缓存目录，你可以把它更改到其他像是 Downloads 目录，这下你即便关闭了 Popcorn Time，这些文件依旧可以观看。


![](/data/attachment/album/201810/05/073736u5tt3c41rt1r1xu3.jpg)


#### 7、 拖放外部 torrent 文件立即播放


我猜你不知道这个操作。如果你没有在 Popcorn Time 发现某些影片，从你最喜欢的 torrent 网站下载 torrent 文件，打开 Popcorn Time，然后拖放这个 torrent 文件到 Popcorn Time 里面。它将会立即播放文件，当然这个取决于种子。这次你不需要在观看前下载整个文件了。


当你拖放文件到 Popcorn Time 后，它将会给你对应的选项，选择它应该播放的。如果里面有字幕，它会自动播放，否则你需要添加外部字幕。


![](/data/attachment/album/201810/05/073736iqln5kornverikx5.png)


在 Popcorn Time 里面有很多的功能，但是我决定就此打住，剩下的就由你自己来探索吧。我希望你能发现更多 Popcorn Time 有用的功能和技巧。


我再提醒一遍，使用 Torrents 在很多国家是违法的。




---


via: <https://itsfoss.com/popcorn-time-ubuntu-linux/>


作者：[Abhishek Prakash](https://itsfoss.com/author/abhishek/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[dianbanjiu](https://github.com/dianbanjiu) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
**Brief: This tutorial shows you how to install Popcorn Time on Ubuntu and other Linux distributions. Some handy Popcorn Time tips have also been discussed.**

Popcorn Time is an open source [Netflix](https://netflix.com/) inspired [torrent](https://en.wikipedia.org/wiki/Torrent_file) streaming application for Linux, Mac

With the regular torrents, you have to wait for the download to finish before you could watch the videos.

Popcorn Time is different. It uses torrent underneath but allows you to start watching the videos (almost) immediately. It’s like you are watching videos on streaming websites like YouTube or Netflix. You don’t have to wait for the download to finish here.

![Popcorn Time in Ubuntu Linux](https://itsfoss.com/content/images/wordpress/2018/09/popcorn-time-linux.jpeg)

If you want to watch movies online without those creepy ads, Popcorn Time is a good alternative. Keep in mind that the streaming quality depends on the number of available seeds.

Popcorn Time also provides a nice user interface where you can browse through available movies, tv-series and other contents. If you ever used [Netflix on Linux](https://itsfoss.com/netflix-firefox-linux/), you will find it’s somewhat a similar experience.

Using torrent to download movies is illegal in several countries where there are strict laws against piracy. In countries like the USA, UK and West European you may even get legal notices. That said, it’s up to you to decide if you want to use it or not. You have been warned.

(If you still want to take the risk and use Popcorn Time, you should use a VPN service like [Ivacy](https://shop.itsfoss.com/sales/ivacy-lifetime-subscription) that has been specifically designed for using Torrents and protecting your identity. Even then it’s not always easy to avoid the snooping authorities.)

Some of the main features of Popcorn Time are:

- Watch movies and TV Series online using Torrent
- A sleek user interface lets you browse the available movies and TV series
- Change streaming quality
- Bookmark content for watching later
- Download content for offline viewing
- Ability to enable subtitles by default, change the subtitles size etc
- Keyboard shortcuts to navigate through Popcorn Time

## How to install Popcorn Time on Ubuntu and other Linux Distributions

I am using Ubuntu 18.04 in this tutorial but you can use the same instructions for other Linux distributions such as Linux Mint, Debian etc.

Popcorn Time is available in the software center for Deepin Linux users. [Manjaro](https://manjaro.org/) and Arch users can easily install Popcorn Time using [AUR](https://itsfoss.com/best-aur-helpers/).

Let’s see how to install Popcorn time on Linux. It’s really easy actually. Simply follow the instructions and copy paste the commands I have mentioned.

### Step 0: Install dependencies

To avoid errors like “Popcorn-Time: [error while loading shared libraries](https://itsfoss.com/solve-open-shared-object-file-quick-tip/):

`sudo apt update && sudo apt install libcanberra-gtk-module libgconf-2-4 libatomic1`


### Step 1: Download Popcorn Time

Attention!

Please note that due to legal troubles, Popcorn Time website keeps on changing its web address. It’s possible that while you are reading, the project might have moved to some other URL. In that case, please search the internet and download the software from a reliable source.

You can download Popcorn Time from its official website. The download link is present on the homepage itself.

Note: Popcorn Time 4.4 is now available. If you were using Popcorn Time 3 previously, the older version stops working. I advise that you remove the files from /opt/popcorntime and redo this tutorial.

### Step 2: Install Popcorn Time

Once you have downloaded Popcorn Time, it’s time to use it. The downloaded file is a tar file that consists of an executable among other files. While you can extract this tar file anywhere, the [Linux convention is to install additional software in ](http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/opt.html)[opt directory.](http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/opt.html)

Create a new directory in /opt:

`sudo mkdir /opt/popcorntime`


Now go to the Downloads directory.

`cd ~/Downloads`


The new Popcorn Time 4.4 is available in zip format. [Unzip the file to the specified directory in Linux terminal](https://itsfoss.com/unzip-linux/) like this:

`sudo unzip Popcorn-Time-0.4.4-linux64.zip -d /opt/popcorntime/`


As a few readers have notified that Popcorn Time 4.4 is not working on their systems (it is fine on my system), I advise you to install the dependencies mentioned in step 0 and run **sudo apt-get -f install** afterwards.

### Step 3: Make Popcorn Time accessible for everyone

You would want every user on your system to be able to run Popcorn Time without sudo access, right? To do that, you need to [create a symbolic link](https://linuxhandbook.com/symbolic-link-linux/) to the executable in /

`sudo ln -sf /opt/popcorntime/Popcorn-Time /usr/bin/Popcorn-Time`


### Step 4: Create desktop launcher for Popcorn Time

So far so good. But you would also like to see Popcorn Time in the application menu, add it to your favorite application list etc.

For that, you need to create a desktop entry.

Open a terminal and create a new file named popcorntime.desktop in /usr/share/applications.

You can use any [command line based text editor](https://itsfoss.com/command-line-text-editors-linux/). Ubuntu has [Nano](https://itsfoss.com/nano-3-release/) installed by default so you can use that.

`sudo nano /usr/share/applications/popcorntime.desktop`


Insert the following lines here:

```
[Desktop Entry]
Version = 1.0
Type = Application
Terminal = false
Name = Popcorn Time
Exec = /usr/bin/Popcorn-Time
Icon = /opt/popcorntime/popcorn.png
Categories = Application;
```


If you used Nano editor, save it using shortcut Ctrl+X. When asked for saving, enter Y and then press enter again to save and exit.

We are almost there. One last thing to do here is to have the correct icon for Popcorn Time. For that

You can do that using the command below:

`sudo wget -O /opt/popcorntime/popcorn.png https://upload.wikimedia.org/wikipedia/commons/d/df/Pctlogo.png`


That’s it. Now you can search for Popcorn Time and click on it to launch it.

![Popcorn Time installed on Ubuntu](https://itsfoss.com/content/images/wordpress/2018/09/popcorn-time-ubuntu-menu.jpg)

Troubleshoot: If you don’t find the Popcorn Time in system menu immediately, run Popcorn-Time in the terminal.

On the first launch, you’ll have to accept the terms and conditions.

![Popcorn Time in Ubuntu Linux](https://itsfoss.com/content/images/wordpress/2018/09/popcorn-time-ubuntu-license.jpeg)

Once you do that, you can enjoy the movies and TV shows.

![Watch movies on Popcorn Time](https://itsfoss.com/content/images/wordpress/2018/09/popcorn-time-watch-movies.jpeg)

Well, that’s all you needed to install Popcorn Time on Ubuntu or any other Linux distribution. You can start watching your favorite movies straightaway.

However, if you are interested, I would suggest reading these Popcorn Time tips to get more out of it.

![](//ivacy.postaffiliatepro.com/accounts/default1/vdegzkxbw/7f82d531.png)


![](http://ivacy.postaffiliatepro.com/accounts/default1/vdegzkxbw/7f82d531.png)

## Removing Popcorn Time from your system

To remove Popcorn Time from your system, you have to undo everything you did to install it. If you are familiar with Linux command line, you should be able to do it easily. I’ll provide the commands anyway.

**Please be extra careful while entering the commands to delete the files. I have recommended using the -i option of rm command so that it asks for confirmation before removing the files.**

Remove the link in the bin directory:

`sudo rm -i /usr/bin/Popcorn-Time`


And then remove the directory where Popcorn Time files are stored. The command below makes you switch to the /opt directory first and then remove the directory popcorntime. This reduces the risk of removing wrong files.

Run these commands one by one:

```
cd /opt
sudo rm -ri popcorntime
```


You should also remove the desktop file you created for the system integration by running the commands below one by one:

```
cd /usr/share/applications
sudo rm -i popcorntime.desktop
```


This should help you delete Popcorn Time from your system if you had installed it using the exact same steps mentioned in the tutorial here.

## 7 Tips for using Popcorn Time effectively

Now that you have installed Popcorn Time, I am going to tell you some nifty Popcorn Time tricks. I assure you that it will enhance your experience with Popcorn Time multiple folds.

### 1. Use advanced settings

Always have the advanced settings enabled. It gives you more options to tweak Popcorn Time. Go to the top right corner and click on the gear symbol. Click on it and check advanced settings on the next screen.

### 2. Watch the movies in VLC or other players

Did you know that you can choose to watch a file in your preferred media player instead of the default Popcorn Time player? Of course, that media player should have been installed in the system.

Now you may ask why would one want to use another player. And my answer is because other players like VLC has hidden features which you might not find in the Popcorn Time player.

For example, if a file has very low volume, you can use VLC to enhance the audio by 400 percent. You can also [synchronize incoherent subtitles with VLC](https://itsfoss.com/how-to-synchronize-subtitles-with-movie-quick-tip/). You can switch between media players before you start to play a file:

### 3. Bookmark movies and watch it later

Just browsing through movies and TV series but don’t have time or mood to watch those? No issues. You can add the movies to the bookmark and can access these bookmarked videos from the Favorites tab. This enables you to create a list of movies you would watch later.

### 4. Check torrent health and seed information

As I had mentioned earlier, your viewing experience in Popcorn Times depends on torrent speed. Good thing is that Popcorn time shows the health of the torrent file so that you can be aware of the streaming speed.

You will see a green/yellow/red dot on the file. Green means there are plenty of seeds and the file will stream easily. Yellow means

### 5. Add custom subtitles

If you need subtitles and it is not available in your preferred language, you can add custom subtitles downloaded from external websites. Get the .srt files and use it inside Popcorn Time:

This is where VLC comes handy as you can [download subtitles automatically with VLC](https://itsfoss.com/download-subtitles-automatically-vlc-media-player-ubuntu/).

### 6. Save the files for offline viewing

When Popcorn Times stream a content, it downloads it and

In the advanced settings, scroll down a bit. Look for

### 7. Drag and drop external torrent files to play immediately

I bet you did not know about this one. If you don’t find a certain movie on Popcorn Time, download the torrent file from your favorite torrent website. Open Popcorn Time and just drag and drop the torrent file in Popcorn Time. It will start playing the file, depending upon seeds. This way, you don’t need to download the entire file before watching it.

When you drag and drop the torrent file in Popcorn Time, it will give you the option to choose which video file should it play. If there are subtitles in it, it will play automatically or else, you can add external subtitles.

There are plenty of other features in Popcorn Time. But I’ll stop with my list here and let you explore Popcorn Time on Ubuntu Linux. I hope you find these Popcorn Time tips and tricks useful.

I am repeating again. Using Torrents is illegal in many countries. If you do that, take precaution and use a VPN service. If you are looking for my recommendation, you can go for [Swiss-based privacy company ProtonVPN](https://proton.go2cloud.org/SH3p) (of [ProtonMail](https://itsfoss.com/protonmail/) fame). Singapore based [Ivacy](https://billing.ivacy.com/page/23628) is another good option. If you think these are expensive, you can look for [cheap VPN deals on It’s FOSS Shop](https://shop.itsfoss.com/search?utf8=%E2%9C%93&query=vpn).

*Note: This article contains affiliate links. Please read our affiliate policy.*