我无法访问 playonlinux 网站。有人能告诉我如何通过终端安装 playonlinux 吗?我会通过 Ubuntu 软件中心安装 Playonlinux,但我认为它不会更新它。我正在运行 Ubuntu Unity 12.04 LTS,它是 Precise。
答案1
virusboy@virusboy-Inspiron-3521:~$ sudo apt-get install playonlinux [sudo] password for virusboy: Reading package lists... Done Building dependency tree
Reading state information... Done The following extra packages will be installed: libwxgtk-media2.8-0 python-wxgtk2.8 python-wxversion Suggested packages: scrot wx2.8-doc wx2.8-examples editra The following NEW packages will be installed: libwxgtk-media2.8-0 playonlinux python-wxgtk2.8 python-wxversion 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 4,949 kB of archives. After this operation, 27.1 MB of additional disk space will be used. Do you want to continue? [Y/n]
这是您应该看到的。由于 PlayonLinux 是 Wine 的包装器,因此您需要 Wine PPA。要在终端中执行此操作,请输入以下内容:
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
将 PPA 存储库添加到您不断增长的 PPA 列表中并更新列表。现在您可以毫无问题地使用该命令。
答案2
有新的存储库可用于此类安装。您需要运行:
wget https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'
sudo apt-get update
最后
sudo apt-get install playonlinux