winetricks

以下引自:http://wingo1990.blog.163.com/blog/static/78234958201051871113333/


继续wine之行——winetricks强大的工具  

在使用Wine安装使用 Windows软件时,会经常需要用到一些dll库文件。
方法一是从Windows下copy一份到Wine的system32目录下;
方法二是用Winetricks,它可以帮助我们安装所需要的dll库。



Winetricks的使用方法如下:(普通用户)
可以通过以下的命令获得:
1、
下载Winetricks , 打开终端,输入
wget http://www.kegel.com/wine/winetricks     
#Wget是一个在网络上进行下载的简单而强大的自由软件

2、添加可执行属性
   chmod +x winetricks                              #修改为可执行
   sudo mv winetricks /usr/local/bin                #将winetricks复制到/usr/local/bin,则可以在终端使用winetricks

3、查看帮助系统
   ./winetricks --help (或者 winetricks --help)                    #查看帮助和其所包含的套件

4、执行winetricks
   ./winetricks (或者 winetricks)                                  #带有gui界面,可查看所包含的套件列表
   在图形界面,您可以选择您所需要得windows软件和windows下的动态链接库安装

5、安装示列
   ./winetricks mfc42 (或者 winetricks mfc42)                      #安装mfc42库





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

代码:

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)
这样一来,明显感觉到wine 的功能增加了不少。IE 6 IE7 安装是不成问题的。也可以个QQ2008(需要摸索的)。

猜你喜欢

转载自hanxuedog.iteye.com/blog/1277751