如何在ubuntu上安装wine?

如何在ubuntu上安装wine?

我正在努力在新的描述:Ubuntu 18.04.1 LTS 上安装 Wine

404  Not Found [IP: 91.189.*.* 80]
:3 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease

E: The repository 'http://ppa.launchpad.net/wine/wine-builds/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.

sudo dpkg --add-architecture i386 
wget -nc 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 --install-recommends winehq-stable

我一直在尝试从官方网站https://wiki.winehq.org/Ubuntu还有 YouTube 视频,但都以相同的错误结束(上图)

任何想法?

答案1

我能够通过执行以下操作来安装它:

/etc/apt/sources.list使用文本编辑器添加此行:

deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main

下一个:

apt-get update

最后的:

apt-get install --install-recommends winehq-stable

成功安装了软件包。我不需要使用,sudo因为我以 root 身份运行。

相关内容