Install wine on CentOS
Wine (short for "Wine Is Not an Emulator") Is a POSIX-compliant operating system (such as Linux, Mac OSX, and BSD) the compatibility layer for running Windows applications.
Wine (Wine Is Not an Emulator) [that Is, Wine Is Not a simulator] Is an implementation of Linux and UNIX, Windows 3.x and Windows APIs. Note that Wine is not a Windows simulator, but uses API conversion technology to implement functions corresponding to Linux to Windows to Call DLL to run Windows programs. Wine can work in most UNIX versions, including Linux, FreeBSD, and Solaris. In addition, there are also Wine programs for Mac OS X. Microsoft Windows is not required for Wine, because it is completely composed of free code. If there is an available copy, it can also use the local system's DLLs at will. The release of Wine is completely open source code and free of charge. -Source: Baidu encyclopedia
This article mainly records how to install Wine 1.7.24 development edition on CentOS 6.5
1. Install the required software package
# Yum groupinstall 'development tool'
# Yum installlibX11-devel freetype-devel zlib-devel libxcb-devel
2. Download and decompress the Wine Package
# Cd/usr/src
# Wget http://prdownloads.sourceforge.net/wine/wine-1.7.24.tar.bz2
# Tar xjf wine-1.7.24.tar.bz2
Note: 1.7.24 is a development version, not a stable version. If you need to install a stable version, click this link to download it. The method is the same.
3. Install Wine
The source code compilation is used here. Execute the following command to start compilation. If the configuration is completed, it may take about 30 minutes. If the configuration is almost complete, it may take a longer time to wait patiently.
32-bit System
# Cd wine-1.7.24/
#./Configure
# Make
# Make install
64-bit System
# Cd wine-1.7.24/
#./Configure-enable-win64
# Make
# Make install
4. Check the version
Run the following command to check the Wine version you have installed:
32-bit System
# Wine-version
Wine-1.7.24
64-bit System
# Wine64-version
Wine-1.7.24
5. How to Use Wine
To use Wine, You need to log on to the graphic interface. For how to install the graphic interface, refer to yesterday's article: how to install and use the Centos VNC remote desktop program, and then download the windows program you need, such as PuTTY, right-click the Program and choose "Open withWine Windows Program Loader" to run the Program using Wine.
Of course, you can use the following command to run the program you downloaded using Wine.
Wineputty.exe