ubuntu18之wine
参考
参考:Wine完全使用指南
参考wiki
How to Install and Use Wine on Ubuntu 18.04:推荐
1. Check installed architectures
1.1 Verify 64-bit architecture. The following command should respond with “amd64”.
dpkg --print-architecture
1.2 See if 32-bit architecture is installed. The following command should respond with “i386”.
dpkg --print-foreign-architectures
1.3 If “i386” is not displayed, execute the following.
sudo dpkg --add-architecture i386
1.4 Recheck with.
dpkg --print-foreign-architectures
1.5 Verify the installation succeeded.
#安装wine 推荐
sudo apt-get install wine64 win32
#看wine版本信息
wine --version
wine-3.0 (Ubuntu 3.0-3ubuntu1)
winecfg #至少需要运行一次winecfg来设置wine的目录和硬件,选用win7模式
2. 卸载Wine
根据您的需要,可以通过两种方式卸载Wine。如果只需要将Wine重置为默认值,则只需删除.wine文件夹,然后通过运行再次创建它winecfg。如果您.wine要备份的文件夹中有应用程序,那么现在是删除该文件夹的好时机。要删除该文件夹,只需执行以下操作,它将处理整个Wine环境:
rm -fr ~/.wine
rm -fr ~/.cache/wine
现在,如果您想从Ubuntu上实际卸载Wine,可以执行以下操作,但是请注意,这不会删除您.wine或缓存的文件夹:
sudo apt remove wine
sudo apt autoremove
#或者
sudo apt purge wine*
3. 使用
参考1
参考2
wine的命令:
你至少需要运行一次winecfg来设置wine的目录和硬件。
# wine安装软件(三种):
wine xxx.exe
./ xxx.exe
# 直接双击软件包winecfg (wine的设置~)
wine taskmgr (任务管理器)
wine uninstaller (卸载软件,先cd到需要卸载的软件安装目录)
wine regedit (注册表)
wine notepad (记事本)
wineboot ( 重启wine)
wine卸载exe软件
4. 安装微信
推荐参考:Ubuntu20.04中安装微信
如何在ubuntu 20.04以及ubuntu 18.04安装微信
#安装微信依赖库和字体
#使用winetricks安装win支持库。
sudo apt install winetricks
winetricks
#然后勾选你软件需要的如:colorprofile、corefonts、d3dx9、fontfix、fontsmooth-gray、fontsmooth-rgb、fontsmooth-bgr、gdiplus、mfc40、mfc42、msxml3、msxml4、msxml6、riched20、riched30、tahoma、urlmon、vb6run、vcrun6、vcrun2003、vcrun2005、vcrun2008、ie6、allfonts
winetricks corefonts riched20 riched30sudo apt-get install fonts-wqy-microhei #文泉驿-微米黑
sudo apt-get install fonts-wqy-zenhei #文泉驿-正黑cp /usr/share/fonts/truetype/wqy/wqy-zenhei.ttc ~/.wine/drive_c/windows/Fonts#將字体注册到 Wine
vim ~/.wine/font.reg
#键入以下内容,并保存:
REGEDIT4[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Lucida Sans Unicode"="wqy-zenhei.ttc"
"Microsoft Sans Serif"="wqy-zenhei.ttc"
"MS Sans Serif"="wqy-zenhei.ttc"
"Tahoma"="wqy-zenhei.ttc"
"Tahoma Bold"="wqy-zenhei.ttc"
"SimSun"="wqy-zenhei.ttc"
"Arial"="wqy-zenhei.ttc"
"Arial Black"="wqy-zenhei.ttc"regedit ~/.wine/font.reg#安装微信
# 直接从官网上下载微信最新版本,下载完成之后用wine运行安装即可。
wine WeChatSetup.exe
#删除桌面WeChat.Desktop图表(建议)
#在applications中找到WeChat图标打开微信即可正常运行
更高版本
Installing Wine 5.0 on Ubuntu(need waiwang)
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key
sudo apt-key add Release.key
sudo add-apt-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'
#sudo sh -c 'echo "deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./" > /etc/apt/sources.list.d/obs.list'
sudo apt update
sudo apt install --install-recommends winehq-stable wine-mono wine-geco winetrickswine --version
wine-6.0.2
ubuntu18之wine相关推荐
- 安装ubuntu后的系统优化
文章目录 0.参考 1.如果是无线网卡,安装无线网卡驱动 2.安装搜狗中文输入法 3.安装冲浪工具 4.安装wine QQ或者微信 5.zsh替换bash 5.1.安装zsh和oh-my-zsh 5. ...
- Ubuntu18.04系统(优化工具+搜狗输入法+wine+微信+拨号上网)
win10下制作Ubuntu18.04启动盘 1.准备一个U盘,格式化 2.清华镜像下载Ubuntu18.04DVD版本 3.下载完成,直接打开,复制全部文件至空U盘中 4.插入U盘,DALL台式电脑 ...
- ubuntu18.10下wine运行大航海时代II、金庸群侠传1、三国志英杰传、笑傲江湖
安装wine-3.0.3 ,默认设置即可 <大航海时代2>下载链接: 链接: https://pan.baidu.com/s/1RW23rQlFdD6-T_2kbqaytA 密码: ss ...
- Ubuntu18.04上通过Wine 7.2 安装使用最新版微信
使用2022年最新发布的 Wine 7.2 安装使用原生的 微信.截图如下: 如何在Ubuntu中安装Wine 7.2: 官方Wine库提供Ubuntu 18.04.Ubuntu 20.04.Ubun ...
- [ubuntu]ubuntu18.04利用wine安装最新版本的微信
# 具体内容请查看官方页面 sudo dpkg --add-architecture i386 wget -qO- https://dl.winehq.org/wine-builds/Release. ...
- 双系统的ubuntu18.04 安装QQ(wine)
关注优麒麟的官网,找到应用下载 然后里面有安装步骤: 方便粘贴,复制如下: 1.下载Wine环境包: Wine环境包下载地址:http://archive.ubuntukylin.com/s ...
- Ubuntu18.04安装ukylin wine(优麒麟)版微信
这个版本的微信相对而言用起来比较方便,且功能相对齐全. 安装方法如下: 首先下载wine环境的安装包 http://archive.ubuntukylin.com/software/pool/part ...
- Ubuntu18.04 安装wine
# sudo apt install wine-stable # sudo dpkg --add-architecture i386 # sudo apt-get update # sudo apt ...
- Wine cannot find the ncurses library (libncurses.so.5)
环境: Ubuntu18.10 amd-64 wine 4.0.2 国外的网站很多方案是错的, 正确的解决方案是: apt-get install libncurses5:i386
- wine的sys文件具体位置
碰到这种问题的话: fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" fail ...
最新文章
- 深度学习--TensorFlow(项目)Keras手写数字识别
- centos 7 文档服务器,centos 7 web服务器
- 波士顿动力机器狗测评来了!售价堪比豪车,避障、导航、舞蹈样样都行,买不起还能租...
- [转]WEB开发者必备的7个JavaScript函数
- Kafka入门之分组的理解
- mysql编辑前200行_巧妙使用SQL Server编辑前200行功能
- Ubuntu安装搭建Clion环境
- 交换排序-经典的快速排序算法总结
- pojo类中list存储其他字段_List集合流处理类型小结
- CentOS依赖包查找工具(https://centos.pkgs.org)
- 第一章 Shell基础知识
- 注意力稀缺的时代,写作软件如何选择?
- 数据结构1800试题(第3章)
- 微型计算机偏移地址,请高手讲解一下在微机原理里面,偏移地址,段地址,实体地址之间的关系!配合图解更好,谢谢!...
- 朱老师Study210开发板刷系统实验(Win10系统)
- 使用Markdown如何修改图片大小
- python如何控制手机发短信_利用Python实现手机短信监控通知
- 照片拼图软件:Picture Collage Maker for Mac
- 7-1 厘米换算英尺英寸*宅家第一天
- 《黑白团团队》第六次作业:团队项目系统设计改进与详细设计