linux安装wine

article/2025/9/23 16:34:59

wine安装过程记录

1

在这里插入图片描述

2

You will find documentation on https://www.winehq.org/documentation
在这里插入图片描述

3

For help with installing from a package or from source, please consult the Getting Wine chapter of the User’s guide.
在这里插入图片描述

4

在这里插入图片描述

5

https://wiki.winehq.org/Category:Distributions
在这里插入图片描述

6

https://wiki.winehq.org/Ubuntu

Installing WineHQ packages

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 

Download and add the repository key:

sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

Add the repository:

For this version:Use this command:
Ubuntu 22.04 (Jammy Jellyfish)Linux Mint 21.xsudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
Ubuntu 20.04 (Focal Fossa)Linux Mint 20.xsudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources
Ubuntu 18.04 (Bionic Beaver)Linux Mint 19.xsudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/winehq-bionic.sources

Update packages:

sudo apt update

Then install one of the following packages:

Stable branchsudo apt install --install-recommends winehq-stable
Development branchsudo apt install --install-recommends winehq-devel
Staging branchsudo apt install --install-recommends winehq-staging

If apt complains about missing dependencies, install them, then repeat the last two steps (update and install). See the FAQ entry on dependency errors for tips on troubleshooting dependency issues.

6

通过运行上面命令后将开始安装Wine。安装完成后查看Wine版本:

wine --version

这样Wine程序便安装完成了,接着您可配置Wine环境。

配置 Wine:

在终端中运行winecfg命令,开始配置Wine环境。

winecfg

这时将出现一个对话框,询问是否要安装 wine-mono 包,单击“安装”按钮,将开始安装wine-mono 包。完成后,将出现一个新对话框,提示安装 Gecko。再次单击“安装”按钮。

卸载wine后无法安装

sudo apt remove winehq-stable后删除which得到的wine的目录和~/.wine目录后再安装时,提示安装了,但其实什么也没有安装。

这时,dpkg -l|grep "wine"发现wine还在;

dpkg -L xxx

dpkg -P xxx

然后再重新安装就可以了。

$ dpkg -l|grep "wine"
ii  wine-stable                                5.0.3~xenial                               amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  wine-stable-amd64                          5.0.3~xenial                               amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  wine-stable-i386:i386                      5.0.3~xenial                               i386         WINE Is Not An Emulator - runs MS Windows programs
ii  winehq-stable                              5.0.3~xenial                               amd64        WINE Is Not An Emulator - runs MS Windows programs
$ sudo dpkg -P wine-stable
$ dpkg -l|grep "wine"
ii  wine-stable-amd64                          5.0.3~xenial                               amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  wine-stable-i386:i386                      5.0.3~xenial                               i386         WINE Is Not An Emulator - runs MS Windows programs
$ sudo dpkg -P wine-stable-amd64  wine-stable-i386

http://chatgpt.dhexx.cn/article/iqCiANAS.shtml

相关文章

如何在CentOS上安装和使用Wine

转载:http://ghoulich.xninja.org/2016/08/09/install-and-use-wine-on-centos/ 最近想要把工作环境从Windows切换到Linux系统,但公司的IM软件(豆芽)只有Windows和MAC的版本,很多常用工具也只有Windows的版本&#xf…

wine 安装与使用(ubuntu中安装windows下软件)

转载自:https://blog.csdn.net/qq_34638161/article/details/81271977 https://m.linuxidc.com/Linux/2007-11/8759.htm https://blog.csdn.net/Gerald_Jones/article/details/80781378 一、安装 wine :能够在多种 POSIX-compliant 操作系统&#xff08…

WinEdt使用技巧

最近在使用WinEdt编辑论文,遇到了不少问题,接下来会慢慢更新,帮助大家避坑。 目录 1安装包 2公式 2.1行内公式 2.2显示公式或列表公式 2.3分数 1安装包 如果在编译时遇到错误:!LaTeX Error: File xxx.sty not found. 说明还…

Linux浅析之四——Wine

一、Wine的缘起 Wine——Wine Is Not an Emulator,这是和GNU一样的递归命名方式,Wine的目的就是让Windows软件可以不加修改的运行在Linux系统中,换句话说实现Linux对Windows的“兼容性”。在Red Hat(包括Fedora和CentOS&#xff…

wine学习笔记

目前 wine 版本为较为稳定的 8.0 版本,本文也是重点围绕 wine 8.0 安装、使用以及 wine 工具介绍等方面进行了学习和整理。 一、安装 wine 1. 如果你使用的是 64 位系统,需要先开启 32 bit 架构支持: $ sudo dpkg --add-architecture i386…

【如何在Ubuntu 20.04系统上安装和使用Wine教程】

文章目录 在Ubuntu上安装Wine 5.0在Ubuntu上安装Wine 6.0配置Wine在Ubuntu上安装Notepad ubuntu 下安装caj Wine是一个开源兼容层,允许您在诸如Linux,FreeBSD和MacOS等UNIX的操作系统上运行Windows应用程序。 Wine是“Wine Is Not an Emulator”的首字母…

wine使用技巧

wine使用技巧 一:常用软件使用技巧1.1:给安装的软件添加快捷方式到桌面方便下次打开 一:常用软件使用技巧 在网上看到有人问wine安装软件后下次不知道怎么打开,打开不方便,于是就写了这个帖子 1.1:给安装…

wine安装及使用

首先说明下系统环境,我系统使用的是deepin15.11,其他基于debain的发行版,安装及使用方法应该也是差不多的。 一、Wine安装 这里引用deepin论坛上的一个帖子:https://bbs.deepin.org/forum.php?modviewthread&tid176555 Ste…

[Linux] 使用 Wine

Wine 是一个在 x86、x86-64 上允许类 Unix 操作系统在 X Windows System 下运行 Microsoft WIndows 程序的软件。Wine 通过提供一个兼容层来将 Windows 的系统调用转换成对 POSIX 标准的调用。 Wine 最早是“Windows Emulator”,即 Windows 模拟器的所写&#xff0c…

Windows 之dos命令

1.应用场景 知道并且熟练掌握常用[有用]的dos命令, 提高工作和生活效率. 2.学习/操作 1.介绍 百度百科: https://baike.baidu.com/item/DOS命令/5143255?fraladdin 简单讲: DOS命令,计算机术语,是指DOS操作系统的命令&#xff…

如何运用dos命令进入C盘?Dos常用命令大全

如何运用dos命令进入C盘?Dos常用命令大全 在开始界面找到运行,快捷键Win+R,输入命令cmd,点击确定 现在我们已经进入以下界面 在Administrator>后面输入c: dir 列文件名 deltree 删除目录树 cls 清屏 cd 改变当前录

dos常用基础命令

目录 dir 查看指定目录 通配符匹配 运行可执行文件 运行其他目录的可执行文件 cd 进入当前盘符的根目录 进入其他盘符根目录 md 和 rd deltree move copy xcopy del diskcopy ren type memory netstat dir 查看当前目录中的文件 /p 分屏显示 /w 简略同行模…

基本DOS命令用法

一.常用的DOS命令: 1.查看目录内容 dir 2.创建目录文件 md 3.打开指定目录命令 cd 4.删除当前指定的子目录 rd 5.改变当前盘符 盘符冒号 6.文件复制拷贝 copy 7.显示文本文件内容命令 type 8.更改文件名 ren 9.删除文件命令 del 10.清楚屏幕命令 cls 11.…

1、常用DOS命令大全

一、DOS(DiskOperatingSystem),磁盘操作系统 特点:单任务、单用户系统使用命令行方式 控制计算机二、DOS命令行的组成 1、DOS命令行中的基本概念 当前驱动器、当前盘、当前目录、相对路径、绝对路径2、DOS命令的格式 命令/参数 文件或文件夹三、常用D…

常用的dos网络命令

常用的dos网络命令 ping:测试网络连接状况以及信息包发送和接收状况,TCP/IP 协议中最常用的命令。(网络中TTL通常表示包在被丢弃前最多能经过的路由器个数。也可以判断电脑系统:TTL值在100至130之间,主机系统为WINDOWSTTL,值在240至255之间&…

DOS常用命令

启动方式1:进入DOS页面:win+R;键入:cmd 启动方式2:“开始”→“运行”→输入“cmd”回车,此时将出现一个显示命令提示符的窗口,如下图。 1,help命令:help ——》查看所有命令帮助;help 某某某——》 查看具体某个 命令的帮助

常用DOS命令大全

ping 目标 向目标发送一个数据包 4 ping -n 10 目标 ping 目标 -n 10 net user 查看用户 增加用户: net user 用户名 用户密码 /add 最高的用户组:*Administrators 默认的用户组:*Users 查看指定用户所在的用户组&…

DOS常用指令

DOS常用指令 一、DOS常识二、命令行打开方式:三、DOS内部命令1. dir----显示指定路径下所有文件和目录的信息2. cd----进入指定目录3. md----创建指定目录4. cd>----创建指定文件5. rd----删除指定空目录6. del----删除指定文件7. copy----复制文件8. ren----改名…

常用DOS命令

目录标题 在文中,需要注意添加“空格”的语句DOS命令不区分大小写.一、常用DOS命令1. 打开命令提示符(最后附上“运行”窗口命令大全(还没有进行测试))方式1:打开“运行”窗口(Win r&#xff0…

在固态硬盘上安装linux系统怎么安装,教程|教你一键重装怎么将系统安装在固态硬盘上...

固态硬盘相比机械硬盘有更快的读写速度,将系统安装在固态硬盘上能极大提高系统的运行速度,今天就说说怎么将系统安装在固态。 方法一: 1、首先制作一个U盘启动盘,制作方法点击文章:《U盘PE启动盘制作方法》 2、进入U盘…