刚刚步入Linux,难免要有时利用一下Windows的程序资源,Wine提供了一个用来运行Windows程序的平台。Wine(Wine Is Not an Emulator的缩写,即Wine不仅仅是一个模拟器)是一个在XWindows和Unix上执行的Windows APIs(应用程序接口),也可以认为Wine是一个Windows兼容层。
Wine可以在绝大多数的Unix版本下工作,但其现在仍不能完全运行所有的Windows程序,不过由于几乎每个月都有新版本,越来越多的Windows程序已经能在Wine的帮助下在Linux中运行。
1、直接运行程序
使用命令wine
[root@localhost root]#wine myprogfile
其中myprogfile是可以在Linux下直接访问的Windows程序名。
2、使用程序管理器
[root@localhost root]#progman
启动管理器窗口,从菜单中选择[File]|[Excute],就会弹出一个目录浏览器,选择程序即可。
某些简单程序可直接运行,而不需要安装。
Wine is an Open Source implementation of the Windows API on top of X and Unix.
Think of Wine as a compatibility layer for running Windows programs. Wine does not require Microsoft Windows, as it is a completely free alternative implementation of the Windows API consisting of 100% non-Microsoft code, however Wine can optionally use native Windows DLLs if they are available. Wine provides both a development toolkit for porting Windows source code to Unix as well as a program loader, allowing many unmodified Windows programs to run on x86-based Unixes, including Linux, FreeBSD, and Solaris.
Wine Features
Binary Compatibility:
* Loads Windows 9x/NT/2000/XP, Windows 3.x and DOS programs and libraries
* Win32 compatible memory layout, exception handling, threads and processes
* Designed for POSIX compatible operatings systems (eg. Linux and FreeBSD)
* "bug-for-bug" compatibility with Windows
Graphics:
* X11-based graphics allows remote display to any X terminal
* X11, TrueType (.ttf/.ttc) and Windows Bitmap (.fon) Fonts
* DirectX support for games (limited Direct3D support)
* Support for OpenGL based games and applications
* Printing via PostScript driver or legacy native Win16 printer drivers
* Enhanced Metafile (EMF) and Windows Metafile (WMF) driver
* Desktop-in-a-box or mixable windows
* Windows MultiMedia (WinMM) layer support with builtin codecs
Allows Windows program to interface with:
* Sound devices via ALSA, OSS, ARTS, JACK, and libaudio etc
* Multi-lingual keyboards and CJK input method support via XIM
* Modems, serial devices
* Networks (TCP/IP and IPX)
* ASPI Scanners
* Windows Tablets via XInput (eg. Wacom)
Wine API:
* Designed for source and binary compatibility with Win32 code
* Win32 API test suite to ensure compatibility
* Compilable on a wide range of C compilers
* Permits mixing of Win32 and POSIX code
* Permits mixing of ELF (.so) and PE (.dll/.exe) binaries in one address space
* Win32 compatible header files
* Automatically generated API documentation
* Resource compiler
* Message compiler
* IDL compiler
* Extensive Unicode support
* Internationalization -- Wine supports 16 languages
* Built-in debugger and configurable trace messages
* External memory checker support using Valgrind
* Sample programs
Wine 0.9.50 Released:
- Completed I/O completion.
- Improved user credentials management, including Mac Keychain support.
- More Valgrinding.
- Lots of bug fixes.
更新:http://www.winehq.org/?announce=latest
官网:http://www.winehq.org
官方下载:(右键另存为~)点击这里下载文件
更多下载:http://www.winehq.org/site/download