18.04 está fora há menos de uma semana. Como tal, muitos desenvolvedores ainda não alcançaram o novo lançamento. Para esse fim, o WineHQ já tem um bug para isso solicitando o pacote 18.04 em seu repositório.
Existe o Wine 3.0 nos repositórios do Ubuntu, você pode usar isso no intervalo executando sudo apt install wine
. Uma vez que os repositórios do WineHQ upstream ficam em dia, você pode usá-los.
Quando esse horário estiver disponível, você poderá seguir as instruções para instalar a partir de seus repositórios. A partir de sua página de instruções são as instruções a seguir naquele momento:
If you have previously installed a Wine package from another repository, please remove it and any packages that depend on it (e.g., wine-mono, wine-gecko, winetricks) before attempting to install the WineHQ packages, as they may cause dependency conflicts.
If your system is 64 bit, enable 32 bit architecture (if you haven't already):
sudo dpkg --add-architecture i386
Add the repository:
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/
Update packages:
sudo apt-get update
Then install one of the following packages:
Stable Branch:
sudo apt-get install --install-recommends winehq-stable
Development Branch:
sudo apt-get install --install-recommends winehq-devel
Staging Branch:
sudo apt-get install --install-recommends winehq-staging
If apt-get complains about missing dependencies, install them, then repeat the last two steps (update and install).
O teste não é mais usado, então use Stable ou Devel.
Haverá diferenças:
Files are installed to
/opt/wine-devel
.Menu items are not created for Wine's builtin programs (
winecfg
, etc.), and if you are upgrading from a distro package that had added them, they will be removed. You can recreate them yourself using your menu editor.Binfmt_misc registration is not added. Consult your distro's documentation for
update-binfmts
if you wish to do this manually.WineHQ does not at present package
wine-gecko
orwine-mono
. When creating a new wine prefix, you will be asked if you want to download those components. For best compatibility, it is recommended to click Yes here. If the download doesn't work for you, please follow the instructions on the Gecko and Mono wiki pages to install them manually.