如何在Linux上安装Popcorntime Beta?Beta版本是一个tar.xz文件,不像Windows和Mac版本那样点击即可自动安装。如果不是自安装文件或者不在Ubuntu软件中心中提供,对于普通非高级用户来说,在Linux上安装程序并不容易。
打开终端(Ctrl+Alt+T):
cd ~/Downloads
sudo mkdir /opt/popcorntime
sudo tar -xf Popcorn-Time-*.tar.xz -C /opt/popcorntime
(现在可以运行Popcorn Time了:)
/opt/popcorntime/Popcorn-Time
创建应用程序启动器
sudo ln -sf /opt/popcorntime/Popcorn-Time /usr/bin/Popcorn-Time
sudo gedit /usr/share/applications/popcorntime.desktop
并输入以下内容:
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Name=PopCorn Time
Exec=/opt/popcorntime/Popcorn-Time
Icon=/opt/popcorntime/src/app/images/icon.png
Categories=Application;
Popcorn-Time-linux64.tar.gz
压缩档中没有 install
文件或任何可直接执行的内容 :( - Petr Kozelka$ /opt/popcorntime/Popcorn-Time /opt/popcorntime/Popcorn-Time: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
,通过执行sudo apt update && sudo apt install libcanberra-gtk-module libgconf-2-4
,该错误得以解决。 - Ram Patra