Install Wine on CenOS

Source: Internet
Author: User

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
  1. YumgroupinstallDevelopmentTools

[Plain] view plaincopy
  1. YuminstalllibX11-develfreetype-develzlib-devellibxcb-devel

2. Download and decompress Wine

Cd to the directory to download

[Plain] view plaincopy
  1. Wgethttp: // prdownloads.sourceforge.net/wine/wine-1.7.24.tar.bz2

[Plain] view plaincopy
  1. 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
  1. Cdwine-1.7.24/

[Plain] view plaincopy
  1. ./Configure

[Plain] view plaincopy
  1. Make & makeinstall

64-bit Operating System

[Plain] view plaincopy
  1. Cdwine-1.7.24/

[Plain] view plaincopy
  1. /Configure-enable-win64

[Plain] view plaincopy
  1. Make & makeinstall

4. Check the version

Run the following command to check the Wine version you have installed:

[Plain] view plaincopy
  1. Wine-version

Or

[Plain] view plaincopy
  1. 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.