Install wine on CentOS

Source: Internet
Author: User
Wine (& ldquo; WineIsNotanEmulator & rdquo;) is a compatible layer that can run Windows applications on multiple POSIX-compliant operating systems (such as Linux, MacOSX, and BSD. Wine (WineIsNotanEmulator) [that is, Wine is not a simulator] is

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 install libX11-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.

Wine putty.exe

Related Article

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.