Linux下最有名的Windows环境模拟器就是WINE了。它提供了一个可以模拟WINDOWS环境的基本平台,在这上面你几乎可以运行任何你想运行的windows程序。

什么?你不相信?不要告诉我你的程序运行时总是提示缺少mfc42.dll。。。

默认的WINE环境缺少很多WIN平台的库,而且最可恨的是,system32目录下竟然没有regedit程序。

下面我来介绍一下,如何让你的WINE环境更为完整。

我示范的linux发行版是ubuntu 9.04, wine的版本号是1.1.26

1.准备正确的注册表编辑器

首先将/home/你的用户名/.wine/dosdevices/c:/windows下的regedit.exe程序复制到system32目录下。

命令:

sudo cp /home/你的用户名/.wine/dosdevices/c:/windows/regedit.exe /home/你的用户名/.wine/dosdevices/c:/windows/system32/

2.下载并安装winetricks

wget http://www.kegel.com/wine/winetricks

chmod +x winetricks

sudo mv winetricks /usr/local/bin

3。用winetricks安装必须的win支持库。这一步很关键。

命令行中输入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

然后选择安装。

4。下面输入winetricks后,勾选dotnet11、dotnet20、vjrun20并安装。

都安装完毕以后,有兴趣的朋友可以尝试安装一下powerdesigner看看能不能用。哈哈。

更多信息请参见http://wiki.winehq.org/winetricks

Wine的其中一个开发者DanKegel写的一个安装Windows有关库和软件的小程序,非常有用!

介绍一下使用方法:

1、打开终端,输入

wget

2、再输入

sudo apt-get install cabextract

3、再输入

chmod +x winetricks

4、最后

./winetricks

在打开的窗口中,可以看到程序所支持的一个软件列表

代码:

art2kmin 微软 Access 2000 运行时.

colorprofile 标准 RGB 颜色配置文件

comctl32 微软 common controls 5.80

comctl32.ocx 微软的comctl32.ocx 和comctl.ocx,VB6的comctl32外壳

corefonts 微软 Arial, Courier, Times 字体

dcom98 微软 DCOM, 替换Wine所自带的

dirac0.8 the obsolete Dirac 0.8 directshow filter

directx9 微软 DirectX 9

divx divx 视频编码

dotnet11 微软 .NET 1.1

dotnet20 微软 .NET 2.0

ffdshow ffdshow 视频编码

flash Adobe Flash Player ActiveX 与 firefox 插件

fontfix Fix bad fonts which cause crash in some apps (e.g. .net).

gdiplus 微软 gdiplus.dll (须安装powerpoint)

gecko HTML 渲染引擎(Mozilla)

icodecs Intel 媒体编码 (Indeo)

jet40 微软 Jet 4.0 Service Pack 8

liberation Red Hat Liberation 字体 (Sans, Serif, Mono)

mdac25 微软 MDAC 2.5: 微软 ODBC 驱动, etc.

mdac27 微软 MDAC 2.7

mdac28 微软 MDAC 2.8

mfc40 微软 mfc40 (Microsoft Foundation Classes from Visual C++ 4)

mfc42 微软 mfc42 (包含于下面的vcrun6)

mono19 mono-1.9.1-gtksharp-2.10.4-win32-2

msi2 微软 Installer 2.0

msls31 微软 Line Services 3.1 (needed by native riched?)

msxml3 微软 XML version 3

msxml4 微软 XML version 4

msxml6 微软 XML version 6

ogg ogg 过滤器和编码器: flac, theora, speex, vorbis,

pdh 微软 pdh.dll (Performance Data Helper)

quicktime72 苹果 Quicktime 7.2

riched20 微软 riched20 and riched32

riched30 微软 riched30

tahoma 微软 Tahoma 字体 (not part of corefonts)

vb3run 微软 Visual Basic 3 运行时

vb4run 微软 Visual Basic 4 运行时

vb5run 微软 Visual Basic 5 运行时

vb6run 微软 Visual Basic 6 运行时

vcrun6 微软 Visual C++ 6 sp4 运行库 (包括mfc42.dll, msvcp60.dll, msvcrt.dll)

vcrun2003 微软 Visual C++ 2003 运行库 (包括mfc71.dll,msvcp71.dll,msvcr71.dll)

vcrun2005 微软 Visual C++ 2005 运行库 (包括mfc80.dll,msvcp80.dll,msvcr80.dll)

vcrun2005sp1 微软 Visual C++ 2005 sp1 运行库

vcrun2008 微软 Visual C++ 2008 运行库 (包括mfc90.dll,msvcp90.dll,msvcr90.dll)

vjrun20 微软 Visual J# 2.0 运行库 (需要安装 dotnet20)

wmp9 微软 Windows Media Player 9

wmp10 微软 Windows Media Player 10

wsh51 微软 Windows Scripting Host 5.1

wsh56 微软 Windows Scripting Host 5.6

wsh56js 微软 Windows scripting 5.6, 只有jscript,没有cscript

wsh56vb 微软 Windows scripting 5.6, 只有vbscript,没有cscript

xvid xvid 视频编码

autohotkey Autohotkey (open source gui scripting language)

firefox3 Firefox 3

kde KDE for Windows installer

mpc Media Player Classic

vlc VLC media player

allfonts 以上所有字体 (corefonts, tahoma, liberation)

allcodecs 以上所有媒体编码 (xvid, ffdshow, icodecs)

fakeie6 在注册表中写入IE6已安装信息

native_mdac Override odbc32 and odbccp32

nt40 Set windows version to nt40

win98 Set windows version to Windows 98

win2k Set windows version to Windows 2000

winxp Set windows version to Windows XP

vista Set windows version to Windows Vista

winver= Set windows version to default (winxp)

volnum Rename drive_c to harddiskvolume0 (needed by some installers)

其中,要安装QQ2008的话,只需安装flash gecko msls31 riched20 vcrun6即可

转载:http://blog.csdn.net/arthur_yang/article/details/6365445

安装新版的winetricks_winetricks 用WineTricks令你的Wine更完整相关推荐

  1. python卸载opencv_怎么为python安装新版的opencv模块-百度经验

    python的opencv模块更新了,出现了许多新的功能,在旧版本里面不能运行. 因此,当你运行别人的代码出错,有可能是版本太低了.这时候,需要安装新版本的opencv. 工具/原料 电脑 pytho ...

  2. 日常问题———安装新版zookeeper 出现Starting zookeeper ... FAILED TO START

    问题描述 安装新版zookeeper使用 /apache-zookeeper-3.6.1.tar.gz解压后运行zoServer.sh文件时出现Starting zookeeper - FAILED ...

  3. 安装新版Magisk卡在启动页面等问题以及解决办法

    安装新版Magisk卡在启动页面等问题以及解决办法 参考文章: (1)安装新版Magisk卡在启动页面等问题以及解决办法 (2)https://www.cnblogs.com/trembler/p/1 ...

  4. WIN10 LTSC 2019 安装新版Mircosoft Edge浏览器,解决无法安装问题

    WIN10 LSTC 2019 安装新版Mircosoft Edge浏览器,解决无法安装问题 自己的笔记本一直使用WIN10 2019 LTSC(MSDN下载的)这一版本,因为这一版本真的太轻快简洁了 ...

  5. NVIDIA Control Panel 出现问题。请与你的系统管理员联系,以了解有关修复或重新安装该应用的信息。 关于win10安装新版N卡驱动没有显卡控制面板的解决办法

    NVIDIA Control Panel 出现问题.请与你的系统管理员联系,以了解有关修复或重新安装该应用的信息. 关于win10安装新版N卡驱动没有显卡控制面板的解决办法 其实楼主也是碰巧发现这个办 ...

  6. 探讨:在Mac新系统下安装新版XAMPP过程中遇到到的坑以及解决办法

    探讨:在Mac新系统下安装新版XAMPP过程中遇到到的坑以及解决办法 简介 XAMPP安装 XAMPP 是个啥? 安装XAMPP 新版问题:IP地址访问不再是localhost 操作问题:apache ...

  7. 银河麒麟(linux arm64)安装新版谷歌浏览器

    银河麒麟(linux arm64)安装新版谷歌浏览器 目的说明 软件包安装 补充说明 补充说明(2023年2月2日) 目的说明 Chrome还没有推出arm架构的软件包.只能下载Chromium.(C ...

  8. Ubuntu安装新版的 Thunderbird 邮件客户端

    CSDN GitHub Ubuntu 安装新版的 Thunderbird 邮件客户端 AderXCoding/system/tools/thunderbird 本作品采用知识共享署名-非商业性使用-相 ...

  9. QT的安装 [新版2022]

    QT的安装 [新版2022] 1 概述 2 qt官网 3 下载安装 3.1 登录账号 3.2 阅读同意许可 3.3 开始安装 3.4 帮助改进建议 3.5 指定安装目录 3.6 选择组件 3.7 选择 ...

最新文章

  1. 华为外包1年_2021年(1月)有哪些高性价比的华为/荣耀手机值得购买?
  2. python实现将txt文件格式转换为arff格式
  3. 如果再写 for 循环,我就锤自己!
  4. Cake -- ACM解决方法
  5. 模糊搜索神器FZF番外篇
  6. 计算机网络中seq,计算机网络A卷及参考答案
  7. mysql多数据库_mysql 多端口及主从数据库
  8. 【Oracle】Oracle GoldenGate简介及搭建过程
  9. property自己实现
  10. 解决相片上传主键唯一性问题,java 上传相片到服务器的时候,相片保存主键用guid。...
  11. win10搜索框没反应或者搜索太慢,看这篇就够了
  12. 计算机附件常用工具,Windows附件常用工具
  13. 强化学习课程笔记之policy-based方法
  14. vscode下golang build tags
  15. canvas实现星星闪烁特效
  16. 道路密度网arcgis
  17. 游戏人工智能——聚集与避障
  18. yarn : 无法加载文件 D:\Development\nvm\node_global\yarn.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.c
  19. 全国计算机等级考试Python二级知识点_1
  20. word文件点击打印没反应

热门文章

  1. 怎么判断ios设备、移动设备、浏览器
  2. PHP对接新浪API动态生成短链接
  3. mysql小记:mysql忘记密码怎么办?
  4. SuperSlide 知识点一
  5. 哑巴英语与软件开发者
  6. python问题两个乒乓球队进行比赛_Python练习题 017:三支乒乓球队出赛名单
  7. 高通QM215 高速串口调试总结
  8. 基于YOLOv8模型+CnOCR识别技术实现汽车车牌识别
  9. 助力ssr,使用concent为nextjs应用加点料
  10. from typing import Literal, ImportError: cannot import name ‘Literal‘