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"