如果你的系统是64位,启用32位架构(如果你还没有的话):
sudo dpkg --add-architecture i386
Add the repository:
sudo add-apt-repository ppa:wine/wine-builds
Update packages:
sudo apt-get update
Then install (example for the development branch):
sudo apt-get install --install-recommends winehq-devel
If you prefer to use the Staging branch, replace `winehq-devel` with `winehq-staging` in the line above.
If apt-get complains about missing dependencies, install them, then repeat the last two steps (update and install).