Install wine on centos

Source: Internet
Author: User

Download the wine installation package and find it on the official website. The corresponding system has different quick installation methods:

Http://www.winehq.org

Decompress and run
If no processing is performed here, the following error occurs:


[Root @ localhost ~] Tar jxvf wine-1.3.13.tar.bz2 into wine directory [root @ localhost ~] Run configure [root @ localhost wine-1.3.13] in CD wine-1.3.13. /configure automatically checks. The first error is that the C compiler does not install the C compiler GCC [root @ localhost wine-1.3.13] Yum install GCC * and then runs configure [root @ localhost wine-1.3.13 ]. /configure indicates that the second error does not have the flex version. Therefore, the installation of [root @ localhost wine-1.3.13] Yum install flex * indicates that the installation is successful and the configure [root @ localhost wine-1.3.13] is continued. /configure prompt flex version too low check flex version [root @ localhost wine-1.3.13] flex -- version prompt flex version is 2.5.4 lower than wi Ne requires 2.5.32 and Yum update flex only needs to download the latest version from the official flex website http://flex.sourceforge.net/download flex version 2.5.35 in tar.gz and decompress [root @ localhost ~]. Tar jxvf flex-2.5.35.tar.gz go to flex-2.5.35 directory [root @ localhost ~] CD flex-2.5.35 then check configure [root @ localhost flex-2.5.35]. /configure and then compile and install [root @ localhost flex-2.3.35] Make [root @ localhost flex-2.3.35] make install after solving the flex problem, go to the wine directory [root @ localhost flex-2.3.35] cd [root @ localhost ~] CD wine-1.3.13 continue configure [root @ localhost wine-1.3.13]. /configure indicates that the bison component [root @ localhost wine-1.3.13] Yum install bison * after the bison installation is complete, check configure [root @ localhost wine-1.3.13]. /configure prompts that the X development component is missing to install the X development component [root @ localhost wine-1.3.13] Yum-y groupinstall "X software development". After the installation is complete, check configure [root @ localhost wine -1.3.13]. /configure after the configure check is complete, you can start compiling and installing [root @ localhost wine-1.3.13] Make [root @ localhost wine-1.3.13] make install

64-bit operating system needs to be set
./Configure -- enable-win64
yum -y groupinstall "X Software Development"
If the preceding command cannot be executed, use the following command to install
Yum groupinstall "additional development" "development tools" "desktop platform development" "server platform development"
 
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.