How to install Wine on Ubuntu Linux 64bit

参考地址:https://linuxconfig.org/how-to-install-wine-on-ubuntu-linux-64bit

The following linux command procedure can be used to install Wine the Microsoft Windows Compatibility Layer (Binary Emulator and Library) on Ubuntu Linux amd64. If you are running 64bit Ubuntu Linux system in order to install Wine the i386 architecture needs to be enabled first. Otherwise any attempt to install Wine will result in:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine : Depends: wine1.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Use the following linux commands to install Wine on your 64bit Ubuntu Linux system. First, enable i386 architecture:

# dpkg --add-architecture i386

Update repositories:

# apt-get update

At this stage proceed as per usual Wine installation:

# apt-get install wine

Another alternative is to install Wine via the Ubuntu Wine Team PPA repository where the current latest of this writing is 1.7. Please note that you still need to enable i386 repository as shown above:

# add-apt-repository ppa:ubuntu-wine/ppa
apt-get update
apt-get install wine1.7

posted @ 2018-10-23 11:15  行走的思想  阅读(548)  评论(0编辑  收藏  举报