Ubuntu

如何在ubuntu上安裝wine?

  • October 9, 2018

我正在努力在新版本上安裝 Wine 描述:Ubuntu 18.04.1 LTS

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 影片,但都以相同的錯誤結束(上圖)

任何的想法?

我可以通過執行以下操作來安裝它:

/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 身份執行。

引用自:https://unix.stackexchange.com/questions/474327