Install Wine on CenOS
Source:Tecadmin.netAuthor:Tecadmin.net
Original article address: Install Wine on CenOS
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 package
[Plain] view plaincopy
- YumgroupinstallDevelopmentTools
[Plain] view plaincopy
- YuminstalllibX11-develfreetype-develzlib-devellibxcb-devel
2. Download and decompress Wine
Cd to the directory to download
[Plain] view plaincopy
- Wgethttp: // prdownloads.sourceforge.net/wine/wine-1.7.24.tar.bz2
[Plain] view plaincopy
- Tarxjfwine-1.7.24.tar.bz2
Note: The latest and most stable version is 1.8.4. 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 Operating System
[Plain] view plaincopy
- Cdwine-1.7.24/
[Plain] view plaincopy
- ./Configure
[Plain] view plaincopy
- Make & makeinstall
64-bit Operating System[Plain] view plaincopy
- Cdwine-1.7.24/
[Plain] view plaincopy
- /Configure-enable-win64
[Plain] view plaincopy
- Make & makeinstall
4. Check the version
Run the following command to check the Wine version you have installed:
[Plain] view plaincopy
- Wine-version
Or[Plain] view plaincopy
- Wine64-version
Last
In each step of the installation process, check the installation printing log to see whether the installation is successful. If the error/need xxx package is found, you can use yum install-y xxx to install it.