How to install Wine on Ubuntu Linux 64bit

Posted 好久不见

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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



以上是关于How to install Wine on Ubuntu Linux 64bit的主要内容,如果未能解决你的问题,请参考以下文章

How to Install Oracle JAVA 8 on Debian 9 / Debian 8

How to install Docker on Ubuntu

How to Install PhantomJS on Ubuntu 16.04

How to Install Nginx with PHP + MySQL (LEMP) on Debian 9

How To Install Docker On Ubuntu 18.04

How to install Zabbix on CENTOS 7