2013年1月21日 星期一

How to install wine on centos 6.3 (64 bit system)

Installing Wine 1.5.21 on CentOS 6.3 (64 bit)


$ yum -y install libX11-devel freetype-devel flex bison

$ cd /tmp

$ wget http://garr.dl.sourceforge.net/project/wine/Source/wine-1.5.21.tar.bz2

$ tar -xvf wine-1.5.21.tar.bz2 -C /tmp/

$ cd wine-1.5.21/

$ ./tools/wineinstall


-------If you use 64 bit system, you may got this error message---------------------------------

configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries. Configure failed, aborting install. 

----------------------------------------------------------------------------------------------------------------------


On 64 bit system you can build only wine-x64 version. So run:

$ ./configure --enable-win64
$ winecfg


Running Wine, example as follow:

$ wine notepad
$ wine notepad.exe 
$ wine c:\\windows\\notepad.exe

 

 

Original source: http://www.tecmint.com/install-wine-in-rhel-centos-and-fedora/

http://askubuntu.com/questions/123273/installing-wine-1-5-configure-error-cannot-build-a-32-bit-program-you-need-t

沒有留言:

張貼留言