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 @   行走的思想  阅读(552)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
点击右上角即可分享
微信分享提示