Wine 9.0 – Run Windows Apps and Games on Linux

Wine is an open-source and free application for Linux that allows users to run Windows-based software and games on Unix/Linux-like operating systems.

Recently, the Wine team proudly announced the stable release of version 9.0, which is now available for download as the source and binary packages for various distributions including Linux, Windows, and Mac.

This release reflects a year of hard work and over 7,000 changes, which includes many improvements, with the main highlights being the new WoW64 architecture and the experimental Wayland driver.

In this article, we will show how to install the Wine 9.0 version in RHEL-based distributions such as CentOS Stream, Rocky Linux, and AlmaLinux using source code (difficult and only suitable for experts) and on Fedora Linux using the official wine repository.

Step 1: Installing Dependency Packages

To begin the installation process, you need to install the necessary development tools and libraries, which include packages like GCC, libX11-devel, freetype-devel, zlib-devel, and libxcb-devel.

yum -y groupinstall 'Development Tools'
yum install gcc libX11-devel freetype-devel zlib-devel libxcb-devel libxslt-devel

For Fedora users, the commands are slightly different:

dnf -y groupinstall 'Development Tools'
dnf -y install gcc libX11-devel freetype-devel zlib-devel libxcb-devel libxslt-

Step 2: Downloading the Wine Source Code

Next, you need to download the Wine source code using the wget command under /tmp directory as a normal user.

cd /tmp
wget http://dl.winehq.org/wine/source/9.0/wine-9.0.tar.xz

After downloading the source code, use the following tar command to extract it under /tmp directory.

tar -xvf wine-9.0.tar.xz -C /tmp/

Step 4: Installing Wine from Sources

After extracting the source code, you need to compile Wine from the sources as a normal user.

Note: The installer might take up to 20-30 minutes and in the middle, it will ask you to enter the root password.
---------- On 64-bit Systems ---------- 
cd wine-9.0/
./configure --enable-win64
make
sudo make install

---------- On 32-bit Systems ---------- 
cd wine-9.0/
./configure
make
sudo make install	

Install Wine on Fedora Linux Using Wine Repository

For Fedora users, you can install Wine using the official Wine repository by using the following commands.

---------- On Fedora 39 ---------- 
dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/39/winehq.repo
dnf install winehq-stable

---------- On Fedora 38 ---------- 
dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/38/winehq.repo
dnf install winehq-stable

Configuring and Running Wine

Once the installation completes run the “winecfg” configuration tool from GNOME desktop to see the supported configuration. If you don’t have any of the desktops, you can install it by using the below command as the root user.

dnf groupinstall workstation 
OR
yum groupinstall "GNOME Desktop"

Once the X Window System is installed, run the command as a normal user to see the wine configuration.

winecfg 
Winecfg Configuration
Winecfg Configuration

To run the Wine, you must specify the full path to the executable program or program name as shown in the example below.

--------- On 32-bit Systems ---------
wine notepad
wine c:\\windows\\notepad.exe
--------- On 64-bit Systems ---------
wine64 notepad
wine64 c:\\windows\\notepad.exe
Wine Running Windows Programs on Linux
Wine Running Windows Programs on Linux

Wine is not perfect because while using Wine, we see so many program crashes. I think the Wine team will soon fix all bugs in their upcoming version. Meanwhile, please share your comments using the form below.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Ravi Saive
I am an experienced GNU/Linux expert and a full-stack software developer with over a decade in the field of Linux and Open Source technologies

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

205 Comments

Leave a Reply
  1. Hello Ravi,

    Could you please me with wine 32 bit installation in Rhel 9.

    I have installed wine but I need 32 bit.

    I have tried to install using ./configure --enable-win getting the below error.

    checking for i386-w64-mingw32-clang... no
    checking for clang... no
    checking for pthread_create... yes
    checking how to run the C preprocessor... gcc -m32 -E
    checking for X... no
    configure: error: X 32-bit development files not found. Wine will be built
    without X support, which probably isn't what you want. You will need
    to install 32-bit development packages of Xlib at the very least.
    Use the --without-x option if you really want this.
    

    Could you please guide me to install 32 bit.

    Reply
    • @Yogesh,

      To install the 32-bit version of Wine on RHEL 9, you’ll need to install the necessary 32-bit development packages installed, particularly those related to Xlib.

      sudo dnf install libX11-devel.i686
      

      After installing the required packages, you can attempt to configure Wine again with the:

      ./configure --enable-win
      make
      sudo make install
      

      This should successfully configure and install the 32-bit version of Wine on your RHEL 9 system.

      Reply
  2. Hello I have this error.

    Error:
    Problem: package winehq-stable-1:5.0.2-1.1.x86_64 requires wine-stable64 = 1:5.0.2-1.1, but none of the providers can be installed
    – cannot install the best candidate for the job
    – nothing provides libm.so.6(GLIBC_2.29)(64bit) needed by wine-stable64-1:5.0.2-1.1.x86_64
    – nothing provides libSDL2-2.0.so.0()(64bit) needed by wine-stable64-1:5.0.2-1.1.x86_64
    – nothing provides libFAudio.so.0()(64bit) needed by wine-stable64-1:5.0.2-1.1.x86_64
    – nothing provides libvkd3d.so.1(VKD3D_1_0)(64bit) needed by wine-stable64-1:5.0.2-1.1.x86_64
    – nothing provides libvkd3d.so.1()(64bit) needed by wine-stable64-1:5.0.2-1.1.x86_64

    Reply
  3. I have installed Wine and everything was successful, I try to run it on server but i get this error.

    000f:fixme:service:scmdatabase_autostart_services Auto-start service L”MountMgr” failed to start: 2
    000f:fixme:service:scmdatabase_autostart_services Auto-start service L”WineBus” failed to start: 2

    Reply
  4. When ever I try to do step 3, the following error shows up, “Tar: you may not specify more than one ‘-acdtrux’, ‘–delete’ or ‘–test-label’ option. and i followed the steps as it was shown and this pops up,

    Please help me.
    Thanks!

    Reply
    • @Nate,

      As the error says, you can’t combine c and roptions together; the former means “create an archive“, the latter “append to an archive“, so they can’t be used simultaneously.

      You can simply do

      # tar cpvzf wine-3.0.tar.xz -C /tmp/
      
      Reply
  5. cp: cannot create regular file ‘/usr/local/lib64/wine/_inst.31846_’: Permission denied
    make: *** [dlls/acledit/install-lib] Error 1
    [indu@localhost wine-2.0.1]$ wine
    bash: wine: command not found…
    [indu@localhost wine-2.0.1]$ yum install epel-release
    Loaded plugins: fastestmirror, langpacks
    You need to be root to perform this command.
    [indu@localhost wine-2.0.1]$ wine
    Usage: wine PROGRAM [ARGUMENTS…] Run the specified program
    wine –help Display this help and exit
    wine –version Output version information and exit
    [indu@localhost wine-2.0.1]$ wine /home/indu/Downloads/RadiAnt-4.0.3-Setup.exe
    wine: created the configuration directory ‘/home/indu/.wine’
    err:ole:marshal_object couldn’t get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
    err:ole:marshal_object couldn’t get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
    err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
    err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
    err:ole:get_local_server_stream Failed: 80004002
    err:ole:marshal_object couldn’t get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
    err:ole:marshal_object couldn’t get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
    err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
    err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
    err:ole:get_local_server_stream Failed: 80004002
    fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
    err:process:__wine_kernel_init boot event wait timed out

    Reply
  6. I run this cmd showing an error.

    ./tools/wineinstall
    Wine Installer v1.0
    

    You are running wineinstall as root, this is not advisable. Please rerun as a user.

    Aborting.

    Reply
  7. when i execute the command
    # ./tools/wineinstall
    than occure this type of mesg…..plz solve my problem

    Running configure…

    checking build system type… x86_64-pc-linux-gnu
    checking host system type… x86_64-pc-linux-gnu
    checking whether make sets $(MAKE)… yes
    checking for gcc… no
    checking for cc… no
    checking for cl.exe… no
    configure: error: in `/tmp/wine-1.8.5′:
    configure: error: no acceptable C compiler found in $PATH
    See `config.log’ for more details

    Configure failed, aborting install.

    Reply
  8. Thanks for your wonderful work! I enjoy my wine 1.8 on centos7 64bit. I just carefully followed your instruction. Kodus!

    Reply
  9. i’ve followed your instruction to install wine in centos7 in order to install Dude one monitoring software for windows, but the wine64cfg did not run at all and said

    “Bash: wine64cfg: command not found…

    kindly help as this is very important to monitor our network

    Reply
  10. Hi, i have followed all your step, but i get some error message like this “wine: for some mysterious reason, the wine server failed to run.”

    could you tell me how to fix it?

    Reply
  11. :When i configure wine its giving error:
    configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries
    i am on centos 7 64 bit OS
    Please advise

    Reply
  12. configure: libGLU development files not found, GLU won’t be supported.
    configure: libOSMesa development files not found (or too old), OpenGL rendering in bitmaps won’t be supported.
    configure: OpenCL development files not found, OpenCL won’t be supported.
    configure: libdbus development files not found, no dynamic device support.
    configure: libgnutls development files not found, no schannel support.
    configure: libsane development files not found, scanners won’t be supported.
    configure: libv4l development files not found.
    configure: libgphoto2 development files not found, digital cameras won’t be supported.
    configure: libgphoto2_port development files not found, digital cameras won’t be auto-detected.
    configure: liblcms2 development files not found, Color Management won’t be supported.
    configure: gstreamer-0.10 base plugins development files not found, gstreamer support disabled
    configure: OSS sound system found but too old (OSSv4 needed), OSS won’t be supported.
    configure: libcapi20 development files not found, ISDN won’t be supported.
    configure: libcups development files not found, CUPS won’t be supported.
    configure: libtiff development files not found, TIFF won’t be supported.
    configure: libmpg123 development files not found (or too old), mp3 codec won’t be supported.
    configure: libopenal development files not found (or too old), OpenAL won’t be supported.
    configure: libldap (OpenLDAP) development files not found, LDAP won’t be supported.

    configure: WARNING: prelink not found, base address of core dlls won’t be set correctly.

    configure: WARNING: libxml2 development files not found (or too old), XML won’t be supported.

    configure: WARNING: libxslt development files not found, xslt won’t be supported.

    configure: WARNING: libjpeg development files not found, JPEG won’t be supported.

    Reply
  13. i have one .exe file and one .rar file both are interlinked .

    I want extract them in RHL 6.5 system both files are on the file system same folder XYZ .

    How do I check if I have ” wine application available and that will help me to extract these 2 files at same time.

    my system is 64 bit VCloud /VMware i ran > command wine64cfg ” says command not found ”

    pls help me to get Wine on my RHL 6.5 ent system. I have RHL subscription for support .

    Reply
    • @Vijay,
      Try to link ‘/usr/local/bin/wine’ to ‘/usr/local/bin/wine64’ using following command.

      # ln -s /usr/local/bin/wine64 /usr/local/bin/wine
      
      Reply
  14. # yum -y groupinstall ‘Development Tools’
    Loaded plugins: refresh-packagekit, rhnplugin
    This system is not registered with RHN.
    RHN support will be disabled.
    adobe-linux-i386 | 951 B 00:00
    linuxtech-release | 2.6 kB 00:01
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again

    Reply
  15. sir please help me…
    # yum -y groupinstall ‘Development Tools’
    Loaded plugins: refresh-packagekit, rhnplugin
    This system is not registered with RHN.
    RHN support will be disabled.
    adobe-linux-i386 | 951 B 00:00
    linuxtech-release | 2.6 kB 00:01
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again
    ….

    Reply
  16. getting this error again and again.
    “/usr/bin/install: cannot create regular file `/usr/local/share/man/man1/wine.1′: Permission denied”
    I have tried sticky bit and sorts of permissions.Chmod 777 /usr/local/ ;chmod 2777 /usr/local. What do i do so that all the files and folders made inside gain a automatic executable permission for all users

    Reply
  17. Hello, running my application i get this error: err:mscoree:load_mono Could not load Mono into this process ….. any idea?

    Thank you!

    Reply
  18. Hi,

    Im having this problem when I run make command

    make[1]: Leaving directory `/tmp/wine-1.6.2/dlls/gphoto2.ds’
    make[1]: Entering directory `/tmp/wine-1.6.2/dlls/gphoto2.ds’
    gcc -c -I. -I. -I../../include -I../../include -I/usr/include/gphoto2 -I/usr/include/gphoto2 -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2 -o capability.o capability.c
    In file included from capability.c:27:0:
    gphoto2_i.h:101:29: error: field ‘xjsm’ has incomplete type
    struct jpeg_source_mgr xjsm;
    ^
    gphoto2_i.h:102:35: error: field ‘jd’ has incomplete type
    struct jpeg_decompress_struct jd;
    ^
    gphoto2_i.h:103:28: error: field ‘jerr’ has incomplete type
    struct jpeg_error_mgr jerr;
    ^
    make[1]: *** [capability.o] Error 1
    make[1]: Leaving directory `/tmp/wine-1.6.2/dlls/gphoto2.ds’
    make: *** [dlls/gphoto2.ds] Error 2

    Reply
  19. Hi
    i am using centos 6.5 64 bit and having problem when i run following command

    [root@ZyXEL0 wine-1.6.2]# yum groupinstall “X Window System” “GNOME Desktop Environment”
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Loading mirror speeds from cached hostfile
    * base: mirror.dhakacom.com
    * extras: mirrors.digipower.vn
    * updates: mirrors.digipower.vn
    Setting up Group Process
    Checking for new repos for mirrors
    Package xorg-x11-server-Xorg-1.13.0-23.1.el6.centos.x86_64 already installed and latest version
    Package xorg-x11-xinit-1.0.9-14.el6.x86_64 already installed and latest version
    Package 1:xorg-x11-xauth-1.0.2-7.1.el6.x86_64 already installed and latest version
    Package xorg-x11-drivers-7.3-13.4.el6.x86_64 already installed and latest version
    Package wdaemon-0.17-5.el6.x86_64 already installed and latest version
    Package xorg-x11-server-utils-7.5-13.el6.x86_64 already installed and latest version
    Package hal-0.5.14-11.el6.x86_64 already installed and latest version
    Package plymouth-system-theme-0.8.3-27.el6.centos.noarch already installed and latest version
    Package xorg-x11-utils-7.5-6.el6.x86_64 already installed and latest version
    Package wacomexpresskeys-0.4.2-3.el6.x86_64 already installed and latest version
    Package spice-vdagent-0.14.0-3.el6_5.x86_64 already installed and latest version
    Package firstboot-1.110.15-1.el6.x86_64 already installed and latest version
    Package glx-utils-9.2-0.5.el6_5.2.x86_64 already installed and latest version
    Package xvattr-1.3-18.el6.x86_64 already installed and latest version
    Warning: Group x11 does not have any packages.
    Warning: Group GNOME Desktop Environment does not exist.
    No packages in any requested group available to install or update
    [root@ZyXEL0 wine-1.6.2]# yum groupinstall “X Window System” “KDE (K Desktop Environment)”
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Loading mirror speeds from cached hostfile
    * base: mirrors.fibo.vn
    * extras: mirrors.digipower.vn
    * updates: mirrors.fibo.vn
    Setting up Group Process
    Checking for new repos for mirrors
    Package xorg-x11-server-Xorg-1.13.0-23.1.el6.centos.x86_64 already installed and latest version
    Package xorg-x11-xinit-1.0.9-14.el6.x86_64 already installed and latest version
    Package 1:xorg-x11-xauth-1.0.2-7.1.el6.x86_64 already installed and latest version
    Package xorg-x11-drivers-7.3-13.4.el6.x86_64 already installed and latest version
    Package wdaemon-0.17-5.el6.x86_64 already installed and latest version
    Package xorg-x11-server-utils-7.5-13.el6.x86_64 already installed and latest version
    Package hal-0.5.14-11.el6.x86_64 already installed and latest version
    Package plymouth-system-theme-0.8.3-27.el6.centos.noarch already installed and latest version
    Package xorg-x11-utils-7.5-6.el6.x86_64 already installed and latest version
    Package wacomexpresskeys-0.4.2-3.el6.x86_64 already installed and latest version
    Package spice-vdagent-0.14.0-3.el6_5.x86_64 already installed and latest version
    Package firstboot-1.110.15-1.el6.x86_64 already installed and latest version
    Package glx-utils-9.2-0.5.el6_5.2.x86_64 already installed and latest version
    Package xvattr-1.3-18.el6.x86_64 already installed and latest version
    Warning: Group x11 does not have any packages.
    Warning: Group KDE (K Desktop Environment) does not exist.
    No packages in any requested group available to install or update.
    please help….

    Thanks

    Reply
    • You can install Desktop on CentOS 6.5 using following command.

      # yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts"
      
      Reply
  20. CentOS 6.5 x64

    when i run

    $ winecfg

    i got following error.

    /usr/local/bin/winecfg: line 52: exec: wine: not found

    The issue is that not exist the file

    /usr/local/bin/wine

    in 64 bits instalation exist

    /usr/local/bin/wine64

    but the scripts call wine and not wine64

    I reslve this creating a link

    # ln /usr/local/bin/wine /usr/local/bin/wine64

    Reply
  21. Dear Sir Ravi,

    I was try to find everywhere especially google,i ask “How to Install wine 1.6.2 on centos 6.5 64bit” …
    And i end up here …

    i follow so many time your tutorial,i also try to use original wine from epel version 1.6.1 release 1.el6,but it suck,terminal on winbox is so blurred,it’s hard to read and could damage my eyes,i was do everything to fix the problem told by google,but i got nothing …

    so i decide to try install another wine version ,, and no matter how many key words and i try to search , i always end up here,cz you has a nice rank in google …

    but now i had a problem,as i sad,i was follow your tutorial on how to install n compiling wine 1.6.2 on centos 6.5 64bit,so many time …
    but i failed,Dont ask me about i was wrong following a 32bit installation,cz i was read every single words you made with carefully.

    so please help me or maybe us to get rid of this problem,cz i dont know where to go and find place to fix this problem.

    Thanks before for your help sir …

    With Best Regards
    Syech

    Reply
    • Can I have access to your server? I will do it for you.. mail me your details using our contact us page. Will surely help you out..

      Reply
  22. sir please help me this is my problem

    onfigure: libxcursor development files not found, the Xcursor extension won’t be supported.
    configure: libxi development files not found, the Xinput extension won’t be supported.
    configure: XShm development files not found, X Shared Memory won’t be supported.
    configure: XShape development files not found, XShape won’t be supported.
    configure: libXxf86vm development files not found, XFree86 Vidmode won’t be supported.
    configure: libxrandr development files not found, XRandr won’t be supported.
    configure: libxinerama development files not found, multi-monitor setups won’t be supported.
    configure: libxcomposite development files not found, Xcomposite won’t be supported.
    configure: libGLU development files not found, GLU won’t be supported.
    configure: libOSMesa development files not found (or too old), OpenGL rendering in bitmaps won’t be supported.
    configure: OpenCL development files not found, OpenCL won’t be supported.
    configure: libdbus development files not found, no dynamic device support.
    configure: libgnutls development files not found, no schannel support.
    configure: lib(n)curses development files not found, curses won’t be supported.
    configure: libsane development files not found, scanners won’t be supported.
    configure: libv4l development files not found.
    configure: libgphoto2 development files not found, digital cameras won’t be supported.
    configure: libgphoto2_port development files not found, digital cameras won’t be auto-detected.
    configure: liblcms2 development files not found, Color Management won’t be supported.
    configure: gstreamer-0.10 base plugins development files not found, gstreamer support disabled
    configure: OSS sound system found but too old (OSSv4 needed), OSS won’t be supported.
    configure: libcapi20 development files not found, ISDN won’t be supported.
    configure: libcups development files not found, CUPS won’t be supported.
    configure: fontconfig development files not found, fontconfig won’t be supported.
    configure: libgsm development files not found, gsm 06.10 codec won’t be supported.
    configure: libtiff development files not found, TIFF won’t be supported.
    configure: libmpg123 development files not found (or too old), mp3 codec won’t be supported.
    configure: libopenal development files not found (or too old), OpenAL won’t be supported.
    configure: libldap (OpenLDAP) development files not found, LDAP won’t be supported.

    configure: WARNING: libxrender development files not found, XRender won’t be supported.

    configure: WARNING: No OpenGL library found on this system.
    OpenGL and Direct3D won’t be supported.

    configure: WARNING: libxml2 development files not found (or too old), XML won’t be supported.

    configure: WARNING: libxslt development files not found, xslt won’t be supported.

    configure: WARNING: libjpeg development files not found, JPEG won’t be supported.

    configure: WARNING: libpng development files not found, PNG won’t be supported.

    configure: WARNING: No sound system was found. Windows applications will be silent.

    Reply
  23. [tejas@localhost wine-1.6.2]$ sudo yum groupinstall ‘GNOME Desktop Environment’
    [sudo] password for tejas:
    Loaded plugins: langpacks, refresh-packagekit
    Warning: group GNOME Desktop Environment does not exist.
    No packages in any requested group available to install or update
    [tejas@localhost wine-1.6.2]$ winecfg
    /usr/local/bin/winecfg: line 52: exec: wine: not found

    pls help

    Reply
    • It seems you are installing 32-bit wine on 64 system. Please follow 64-bit commands as described in the article.

      Reply
  24. Hello Sir,

    i used centos 6.4 32 bit and i want to install wine

    i follow all the steps according you to suggest

    ./tools/wineinstall when i execute this command as local user system continuous process till 1 hour but no response

    suggest

    Reply
    • Yes it takes plenty of time, but that too depend upon your hardware configuration, in the middle it will prompt you to enter root password.

      Reply
  25. I installed wine 1.6.2 got everything working the way it needs to for now. installed league of legends using playonlinux, now i can log into it see the UI and enter champion select. Once the game starts the game crashes, and asks me to reconnect. Do you have any idea how to resolve the crash?

    Reply
  26. For anyone who meet the disturbing “/usr/local/bin/winecfg: line 52: exec: wine: not found” error:
    the reason is that you are installing wine(32bit) on a 64 bit machine. two solutions:

    One:
    As the error info itself suggest, just do:
    vim /usr/local/bin/winecfg
    on line 52 you’ll find this command
    exec wine “$appname” “$@”

    Reply
    • Then replace the word “wine” with “wine64”

      Two:
      ln -s /usr/local/bin/wine64 /usr/local/bin/wine

      there is no “wine” in /usr/local/bin, so just make oneXDDD

      Reply
  27. Thanks for your instructions and thanks for Wine.
    I’m kind of new here,

    I have installed wine successfully, but there is nothing on the Desktop (gnome) and when I type in $ winecfg it says :

    /usr/local/bin/winecfg: line 52: exec: wine: not found

    would you please help me ?
    tnx

    Reply
  28. I did till
    # yum groupinstall “X Window System” “GNOME Desktop Environment”

    I installed everything then what I’m suppose to do? If I run “winecfg” there it shows an error like :

    “/usr/local/bin/winecfg: line 52: exec: wine: not found”

    In my “GNOME Desktop Environment” application list there is no “X Window System” or “winecfg”.

    I lost there.Please help me.

    Reply
  29. Wine 1.7.9-development release was Installed successfully on fedora 20 32/64 bit , centos 6.5 64bit and opensuse13.1 64bit , moving on to debian 7.3 64bit.

    Reply
  30. Hi Mr. Salve,

    Did you try yum install wine.
    It worked for me in fedora 20 kde spin.
    installed wine 1.7.5-1.fc20 in 10 minuts including downloading.

    simon

    Reply
  31. Really helpful info. I installed successfully wine 1.7.3 in fedora 19.
    in the middle it said some packages are missing. I installed through yum install package name…

    Thanks Ravi.

    Regards,
    Hanumantha Rao.

    Reply
  32. I installed wine, but when i give the command winecfg it says

    usr/local/bin/winecfg: line 52: exec: wine: not found

    can you please help me.

    Reply
  33. hi,

    had problem when installing on centos 64bit. I think winecfg cannot work because after compiling only wine64 file available and not wine. The winecfg script look for wine not wine64.

    after make a link (ln -s) wine to wine64 then winecfg works…

    Reply
  34. [root@123]# wine IBExpert.exe
    bash: wine: comand not found

    [root@123]# which winecfg
    /usr/local/bin/winecfg

    [root@123]# which wine
    /usr/bin/which: no wine in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

    Reply
    • It turned out to solve the last problem but in the log – file, the string “err: menubuilder: convert_to_native_icon error 0x80004005 creating bitmap encoder
      err: wincodecs: PngEncoder_CreateInstance Trying to save PNG picture, but PNG support is not compiled in. ”
      and as a consequence does not start

      Reply
  35. Hey Ravi, thanks for creating this write up!

    I’m installing wine 1.7.2 in CentOS 6.4 x86_64 and there’s many 32bit (i686) package requirements as seen here: http://winezeug.googlecode.com/svn/trunk/install-wine-deps.sh

    Installing those i686 packages seems to screw up compiling other software which needs the x86_64 packages. Do you know if it’s okay to compile wine on one system and just copy the compiled source to another system (one which does not have all those compile dependency pkgs installed), do the make install there, and run the wine binary there properly? If wine depends on dynamically linked libraries, perhaps this will not work?

    Reply
  36. followed your instruction, I installed wine-1.7.2 in redhat 6.
    because some reason, I need to unistall wine.

    is there any solution that can remove wine completely ?
    Would you provide the command, tks.

    Reply
  37. i have completed the wine configurations followed everything but its not still working on centos 6.4

    64 bit Linux XXXXXXXXX 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

    Reply
  38. sir hardly try to install wine but i am fail..what should i do ????
    when i run groupinstall command than my system get error.

    yum -y groupinstall ‘Development Tools’
    warning: Group Development does not have any packages
    “no package in any requested group are available to install or update”
    and if whenever i try to install wine
    than get does not configure error……..
    i have using RHEL 6.4
    please help me..

    Reply
    • Try to run this command and let me know.

      # yum groupinstall "Additional Development" "Development tools" "Desktop Platform Development" "Server Platform Development"
      
      Reply
  39. once i got to the #makeinstall step i get messed up b’cause i changed to root user now its all messed up and as a noob to linux(installed fedora 19 this morning) im super confused help please

    Reply
  40. Sir,

    I install oracle linux. when i install wine 1.7.0 (./configure –enable-wine64). than error msg come= no suitable bison found. Please install the “bison” package.

    Reply
  41. Ravi,

    Following your install cuidlines for Centos 6 32 bit, on running the .tools/wineinstall command I get the following warning:

    make: Warning: File `Makefile.in’ has modification time 2.7e+08 s in the future
    running CONFIG_SHELL=/bin/sh /bin/sh ./configure –no-create –no-recursion
    checking build system type… i686-pc-linux-gnu
    checking host system type… i686-pc-linux-gnu
    checking whether make sets $(MAKE)… yes
    checking for gcc… gcc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…

    The comand then loops continuosly after the line:

    checking whether we need to define __i386__… no

    Any help greatly appreceated.

    Many thanks,

    Ivan

    Reply
  42. I’m stepping through the instructions, as a CentOS 6.4 x64 newb and am missing the 32 bit libraries – I really hoped that wine was going to be an x64 program but since it’s 32 bit, can anyone please tell me how to (and where to get) install the 32 bit development libraries and how/where that fits in into this tutorial.

    Thanks!

    Reply
  43. cd /usr/local/bin && rm -f wineg++ && ln -s winegcc wineg++
    cd /usr/local/bin && rm -f winecpp && ln -s winegcc winecpp
    cd /usr/local/share/man/man1 && rm -f wineg++.1 && ln -s winegcc.1 wineg++.1
    cd /usr/local/share/man/man1 && rm -f winecpp.1 && ln -s winegcc.1 winecpp.1
    make[1]: Leaving directory `/home/hummer01/wine-1.5.28/tools/winegcc’
    make[1]: Entering directory `/home/hummer01/wine-1.5.28/tools/wmc’
    /usr/bin/install -c -m 644 wmc.man /usr/local/share/man/man1/wmc.1
    /usr/bin/install -c wmc-installed /usr/local/bin/wmc
    make[1]: Leaving directory `/home/hummer01/wine-1.5.28/tools/wmc’
    make[1]: Entering directory `/home/hummer01/wine-1.5.28/tools/wrc’
    /usr/bin/install -c -m 644 wrc.man /usr/local/share/man/man1/wrc.1
    /usr/bin/install -c wrc-installed /usr/local/bin/wrc
    make[1]: Leaving directory `/home/hummer01/wine-1.5.28/tools/wrc’

    Reply
  44. Sir,

    i got a problem in my internet connection . i have dual boot partition(windows XP and Linux 5.2) but when i try to connect my broadband internet connection it doesn’t work in linux but in windows it works. i got motherboard cd but how to install linux port driver ,etc and what r the commands for it .please let me know so that i can connect my net too.

    thanks

    Reply
  45. I cud not run the command “winecfg”
    i was getting error”command not found”
    Please let me know the solution.

    Reply
  46. Hi,
    I tried that earlier and it gives this response.

    Package gcc-4.1.2-54.el5.x86_64 already installed and latest version
    Nothing to do

    So i tried installing specific version of gcc.

    Thanks

    Reply
    • I think latest Wine is not compatible with your currently running distro, instead of compiling, install via yum using epel repository

      Reply
  47. [wlp_pnair@wlp-tmcql01 wine-1.5.28]$ ./configure –enable-win64
    checking build system type… x86_64-unknown-linux-gnu
    checking host system type… x86_64-unknown-linux-gnu
    checking whether make sets $(MAKE)… yes
    checking for gcc… gcc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…
    checking whether we are cross compiling… no
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking for g++… g++
    checking whether we are using the GNU C++ compiler… yes
    checking whether g++ accepts -g… yes
    checking for cpp… cpp
    checking whether gcc supports __builtin_ms_va_list… no
    configure: error: You need gcc >= 4.4 to build Wine as 64-bit.

    I tried installing gcc using sudo yum install gcc4.4.4 but throws error that no No package gcc4.4.4 available.

    How do i get over this?

    Reply
  48. actually, this is not good idea. First, one should upgrade these old packages in RHEL 6… For example libxml2 development file needed for Google Earth.. Try this – it is not possible without messing with the whole system.

    Reply
  49. thats what i did

    ./configure –enable-win64 error”requires 32 bit lib”
    make build complete
    make install install complete

    Reply
  50. Ravi
    i need your help please.

    [root@PlcmSplp wine-1.5.25]# which wine64
    /usr/local/bin/wine64

    [jeff-405@PlcmSplp ~]$ cd /home/jeff-405/Downloads/wine-1.5.25/[jeff-405@PlcmSplp wine-1.5.25]$ ./configure –enable-wine64
    configure: WARNING: unrecognized options: –enable-wine64
    checking build system type… x86_64-unknown-linux-gnu
    checking host system type… x86_64-unknown-linux-gnu
    checking whether make sets $(MAKE)… yes
    checking for gcc… gcc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…
    checking whether we are cross compiling… no
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking for g++… g++
    checking whether we are using the GNU C++ compiler… yes
    checking whether g++ accepts -g… yes
    checking for cpp… cpp
    checking whether gcc -m32 works… no
    configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.

    [root@PlcmSplp jeff-405]# yum -y install libXll-devel.i686 freetype-devel.i686 flex bison
    Loaded plugins: fastestmirror, kmod, refresh-packagekit
    Loading mirror speeds from cached hostfile
    * rpmforge: mirror.hmc.edu
    Setting up Install Process
    No package libXll-devel.i686 available.
    Package freetype-devel-2.3.11-6.el6_2.9.i686 already installed and latest version
    Package flex-2.5.35-8.el6.x86_64 already installed and latest version
    Package bison-2.4.1-5.el6.x86_64 already installed and latest version
    Nothing to do

    [root@PlcmSplp jeff-405]# yum -y install libXll-devel freetype-devel flex bisonLoaded plugins: fastestmirror, kmod, refresh-packagekit
    Loading mirror speeds from cached hostfile
    * rpmforge: mirror.hmc.edu
    Setting up Install Process
    No package libXll-devel available.
    Package freetype-devel-2.3.11-6.el6_2.9.x86_64 already installed and latest version
    Package flex-2.5.35-8.el6.x86_64 already installed and latest version
    Package bison-2.4.1-5.el6.x86_64 already installed and latest version
    Nothing to do

    what do i do?, It looks like 32 and 64 bit development tools are installed?

    Reply
  51. Hi Ravi

    I have followed the instructions as advised but on make install i get the following error:

    make[1]: Entering directory `/tmp/wine-1.5.26/dlls/ntdll’
    ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild –sysroot=../.. -fasynchronous-unwind-tables -shared ./ntdll.spec actctx.o atom.o cdrom.o critsection.o debugbuffer.o debugtools.o directory.o env.o error.o exception.o file.o handletable.o heap.o large_int.o loader.o loadorder.o misc.o nt.o om.o path.o printf.o process.o reg.o relay.o resource.o rtl.o rtlbitmap.o rtlstr.o sec.o serial.o server.o signal_arm.o signal_arm64.o signal_i386.o signal_powerpc.o signal_x86_64.o string.o sync.o tape.o thread.o threadpool.o time.o version.o virtual.o wcstring.o version.res -nodefaultlibs -Wl,–image-base,0x7bc00000 -o ntdll.dll.so -lwinecrt0 ../../libs/port/libwine_port.a -lrt -lpthread
    ccache: failed to create /root/.ccache (No such file or directory)
    winegcc: gcc failed
    make[1]: *** [ntdll.dll.so] Error 2
    make[1]: Leaving directory `/tmp/wine-1.5.26/dlls/ntdll’
    make: *** [dlls/ntdll] Error 2

    Any suggestions?

    chege

    Reply
  52. I’m at step 4: installing wine 1.5.26
    It says:

    Step 4: Installing Wine 1.5.26
    It is recommended to compile and build Wine installer as a normal User. Run the following commands as normal user. (Note : The installer might take up-to 20-30 minutes and in the middle it will ask you to enter root password).
    $ cd wine-1.5.26/
    $ ./tools/wineinstall

    I extracted (step 3) wine with a normal user account, otherwise it says you need to install wine from a normal account. And if I do that, i have to re-extract wine from the normal user account. But when I try again ./tools/wineinstall, the server says:

    We need to install Wine as the root user. Do you want us to build Wine,
    ‘su root’ and install Wine? Enter ‘no’ to build Wine without installing:

    By both yes or no, it doesn’t do anything.

    Reply
    • When it ask to build Wine as root user, simply Type “Yes”. In the middle of build process it will ask you to provide root password.

      Can you post the output of the command?

      Reply
      • jesse is my user account:

        [jesse@node13-vps wine-1.5.26]$ ./tools/wineinstall
        Wine Installer v1.0

        We need to install Wine as the root user. Do you want us to build Wine,
        ‘su root’ and install Wine? Enter ‘no’ to build Wine without installing:
        (yes/no) yes
        Running configure…

        checking build system type… x86_64-unknown-linux-gnu
        checking host system type… x86_64-unknown-linux-gnu
        checking whether make sets $(MAKE)… yes
        checking for gcc… no
        checking for cc… no
        checking for cl.exe… no
        configure: error: in `/tmp/wine-1.5.26′:
        configure: error: no acceptable C compiler found in $PATH
        See `config.log’ for more details

        Configure failed, aborting install.

        Reply
        • You don’t have development tools installed on your system. I have updated the article, you can install them using following command and run the build process again.

          # yum groupinstall 'Development Tools'
          
          Reply
          • Still not working :(

            Wine Installer v1.0

            We need to install Wine as the root user. Do you want us to build Wine,
            ‘su root’ and install Wine? Enter ‘no’ to build Wine without installing:
            (yes/no) yes
            Running configure…

            checking build system type… x86_64-unknown-linux-gnu
            checking host system type… x86_64-unknown-linux-gnu
            checking whether make sets $(MAKE)… yes
            checking for gcc… gcc
            checking whether the C compiler works… yes
            checking for C compiler default output file name… a.out
            checking for suffix of executables…
            checking whether we are cross compiling… no
            checking for suffix of object files… o
            checking whether we are using the GNU C compiler… yes
            checking whether gcc accepts -g… yes
            checking for gcc option to accept ISO C89… none needed
            checking for g++… g++
            checking whether we are using the GNU C++ compiler… yes
            checking whether g++ accepts -g… yes
            checking for cpp… cpp
            checking whether gcc -m32 works… no
            configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.

          • I think you using 64-bit system and building 32-bit Wine on 64 seems buggy now. So, you need to compile and build the Wine, simple run the following commands to compile it.

            ./configure --enable-win64
            make
            make install
            
          • It doesn’t work?
            >
            >
            [root@node13-vps ~]# ./configure –enable-win64
            -bash: ./configure: No such file or directory
            >
            >
            Maybe I need to run this while I’m in another folder?

          • Oke, that’s succeeded.
            >
            Now I have the following problem:
            I’m at step 4 and need to run “winecfg” in desktop mode.
            I use UltraVNC. ‘
            >
            [jesse@node13-vps wine-1.5.26]$ winecfg
            /usr/local/bin/winecfg: line 52: exec: wine: not found
            [jesse@node13-vps wine-1.5.26]$ su root
            Password:
            [root@node13-vps wine-1.5.26]# winecfg
            /usr/local/bin/winecfg: line 52: exec: wine: not found
            [root@node13-vps wine-1.5.26]#

  53. Hi Ravi

    $ ./configure –enable-win64

    is ok

    $ make

    and

    $make install

    Both give errors for not having permissions to create directories at various places. Is there something in configure that can be changed for this?

    Reply
  54. I configured with 64 bit
    then
    $make
    $sudo make install

    went well

    then

    [root@PlcmSplp jeff-405]# which wine
    /usr/bin/which: no wine in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/jeff-405/bin)
    [root@PlcmSplp jeff-405]# winecfg
    /usr/local/bin/winecfg: line 52: exec: wine: not found
    [root@PlcmSplp jeff-405]#

    Reply
  55. Hello sir,

    I’m a very novice user of Linux.

    At the 3rd Step, I get this:
    tar: wine-1.5.23/tools/wrc: Cannot utime: Operation not permitted
    tar: wine-1.5.23/tools: Cannot utime: Operation not permitted
    tar: wine-1.5.23: Cannot utime: Operation not permitted
    tar: Exiting with failure status due to previous errors

    If I try to do the 4th step, I get this error:
    Wine Installer v1.0

    The source directory is not writable. You probably extracted the sources as root.
    You should remove the source tree and extract it again as a normal user.

    How do I remove the source tree?

    Thanks in advance!

    Reply
      • Where should I look for the extracted directory?
        I cannot find it from the file searcher.
        I looked for all files with “wine”
        I deleted all the files that I could delete, but there were some files I could not delete.
        The exe files I find are not deletable, either.

        Reply
      • How do I remove it?
        I could not find it under “wine” in all my files, and it does not give me permission to delete the exec_wine.png’s

        Reply
  56. Hi Sir,
    I am trying to install wine, that time i get error for some library file. I am Using Centos 6.2 64Bit. How can I install this package and solve.

    [test@host wine-1.5.23]$ ./tools/wineinstall
    Wine Installer v1.0

    We need to install Wine as the root user. Do you want us to build Wine,
    ‘su root’ and install Wine? Enter ‘no’ to build Wine without installing:
    (yes/no) yes
    Running configure…

    checking build system type… x86_64-unknown-linux-gnu
    checking host system type… x86_64-unknown-linux-gnu
    checking whether make sets $(MAKE)… yes
    checking for gcc… gcc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…
    checking whether we are cross compiling… no
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking for g++… g++
    checking whether we are using the GNU C++ compiler… yes
    checking whether g++ accepts -g… yes
    checking for cpp… cpp
    checking whether gcc -m32 works… no
    configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.

    pls give a solution.

    Reply
    • It seems that you using Centos 6.2 64Bit, and you building wine-x64 version on 32bit system. So, better use as.

      ./configure --enable-win64
      
      Reply
      • Thanks for helping..
        This option is working… after that I get the another error. the error is
        /usr/local/bin/winecfg: line 52: exec: wine: not found

        I use this command : which wine
        [root@host ~]# which wine
        /usr/bin/which: no wine in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

        Reply
          • Sir,
            I install wine package through EPEL Repo, that instaltion is completed. after installation I try Notpad.exe its working. But I trying to install gtalk, windows media player not support some error coming.

  57. I got the way out of it. I read the README and following it. Only “./tools/wineinstall” will not do everything to complete the wine build. It has to be configured, make and make install further steps are,

    $ ./configure
    $ make
    $ sudo make install

    now I got full list of wine cmds along with winecfg. I hope I’ll be done now with wine.

    Reply
      • Sorry, its not done yet.

        [Jay@Jay-PC wine-1.5.23]$ winecfg
        wine: created the configuration directory ‘/home/Jay/.wine’
        fixme:wininet:IsDomainLegalCookieDomainW (L”winehq.org”, L”source.winehq.org”) semi-stub
        fixme:urlmon:DownloadBSC_OnProgress Unsupported status 3
        fixme:wininet:init_openssl can’t use SSL, not compiled in.
        err:wininet:open_http_connection create_netconn failed: 12157
        fixme:urlmon:DownloadBSC_OnStopBinding No cache file
        err:appwizcpl:InstallCallback_OnStopBinding Binding failed 800c0008
        err:appwizcpl:download_proc URLDownloadToFile failed: 800c0008
        err:process:__wine_kernel_init boot event wait timed out
        ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
        ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
        err:winecfg:open_mountmgr failed to open mount manager err 2
        fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
        err:winecfg:open_mountmgr failed to open mount manager err 2
        err:winecfg:open_mountmgr failed to open mount manager err 2

        Wine Mono Installer is still downloading something… and wine configuration is being updated still… since my last update.
        Any suggestions…

        Reply
      • Hi Ravi,

        I was just expecting help from you… any ways thanks for THE reply. You may delete this post also. I will let you know if i get success with wine. Thanks bro :)

        Reply
  58. Hi Ravi,

    The only error I faced and mentioned earlier also is abt 32 bit freetype-devel as my Cent OS 6.3 is 64bit so I installed it with i686 and wine build was completed successfully with no more errors.

    Reply
  59. Hi Ravi,

    I did that already. here is the o/p

    [Jay@Jay-PC ~]$ yum grouplist | grep KDE
    KDE Desktop

    [Jay@Jay-PC ~]$ sudo yum groupinstall “KDE Desktop”
    Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify, versionlock
    Loading support for CentOS kernel ABI
    Loading mirror speeds from cached hostfile
    * base: mirrors.ispros.com.bd
    * extras: mirrors.ispros.com.bd
    * rpmforge: http://ftp.riken.jp
    * updates: mirrors.ispros.com.bd
    Setting up Group Process
    Checking for new repos for mirrors
    Package 6:kdebase-4.3.4-5.el6.x86_64 already installed and latest version
    Package 6:kdelibs-4.3.4-14.el6_3.2.x86_64 already installed and latest version
    Package xsettings-kde-0.11-1.el6.x86_64 already installed and latest version
    Package 1:kdeaccessibility-4.3.4-5.el6.x86_64 already installed and latest version
    Package alsa-plugins-pulseaudio-1.0.21-3.el6.x86_64 already installed and latest version
    Package kdebase-workspace-4.3.4-23.el6.x86_64 already installed and latest version
    Package kdeartwork-screensavers-4.3.4-7.el6.x86_64 already installed and latest version
    Package kde-settings-pulseaudio-4.3.1-1.el6.centos.noarch already installed and latest version
    Package kdeplasma-addons-4.3.4-5.el6.x86_64 already installed and latest version
    Package kdm-4.3.4-23.el6.x86_64 already installed and latest version
    Package 6:kdepim-4.3.4-5.el6.x86_64 already installed and latest version
    Package kiconedit-4.3.3-1.el6.x86_64 already installed and latest version
    Package pinentry-qt-0.7.6-6.el6.x86_64 already installed and latest version
    Package kdepim-runtime-4.3.4-5.el6.x86_64 already installed and latest version
    Package kcoloredit-4.3.3-2.el6.x86_64 already installed and latest version
    Package 1:k3b-1.0.5-13.el6.x86_64 already installed and latest version
    Package kmid-2.0-0.14.20080213svn.el6.x86_64 already installed and latest version
    Package ksshaskpass-0.5.1-4.1.el6.x86_64 already installed and latest version
    Package 6:kdemultimedia-4.3.4-3.el6.x86_64 already installed and latest version
    Package 6:kdegames-4.3.4-5.el6.x86_64 already installed and latest version
    Package 6:kdeutils-4.3.4-7.el6.x86_64 already installed and latest version
    Package 7:kdegraphics-4.3.4-6.el6.x86_64 already installed and latest version
    Package ksig-1.1-0.10.20080213.el6.x86_64 already installed and latest version
    Package konq-plugins-4.3.3-5.el6.x86_64 already installed and latest version
    Package 7:kdeadmin-4.3.4-5.el6.x86_64 already installed and latest version
    Package 1:NetworkManager-gnome-0.8.1-34.el6_3.x86_64 already installed and latest version
    Package kipi-plugins-0.8.0-5.el6.x86_64 already installed and latest version
    Package 7:kdenetwork-4.3.4-11.el6_0.1.x86_64 already installed and latest version
    Package ibus-qt-1.3.0-2.el6.x86_64 already installed and latest version
    Warning: Group kde-desktop does not have any packages.
    No packages in any requested group available to install or update

    :(

    Reply
      • Yes, KDE is installed and working fine. In fact I am using the full fledge GUI but after no error build I cant find winecfg utility. I can browse all folders of wine under my user dir but stuggeling to find way to configure further with wine. If I type win it doesn’t even show any cmd related to wine. I think I am missing something…

        Reply
  60. Hi Ravi,

    FYI. Though I got KDE desktop cmd # yum groupinstall “X Window System” “KDE (K Desktop Environment)” given shows all files with latest version and
    Warning: Group x11 does not have any packages.
    Warning: Group KDE (K Desktop Environment) does not exist.

    Am I missing something…?

    Reply
    • First search for KDE in group-list.

      # yum grouplist | grep KDE
      

      if it’s available try to install it using.

      # yum groupinstall "KDE Desktop"
      
      Reply
  61. Hello Ravi,

    Wine build is completed after Step 4. But can’t move further with winecfg. It gives command not found I have tried to run with root also but not succeded. Need help for further configuration. I got Cent OS 6.3 64bit.
    Earlier I faced 32 bit freetype error msg, for which I installed freetype i686 and completed the build process successfully. Now need directions for further config.

    Thanks in advance.

    Reply
  62. Hey
    just tried to install wine, but got these errors
    -bash: cd: wine-1.5.5/: No such file or directory
    -bash: ./tools/wineinstall: No such file or directory
    Can you help me please?

    Reply
    • Sorry, there was typo error in the article, due to this you may get the above error. now its corrected, can you try again those commands and update me.

      Reply
      • Hmm… doesn’t work for me. I still get the same error. Maybe I’m mistaken about the way to enter these commands, I’m a newbie. I entered them the following way:
        cd wine-1.5.5/
        ./tools/wineinstall

        I don’t need to set the $ in front of the command, do I? Can it be that the version 1.5.5 doesn’t work at all? Instead should I use your version (1.5.23)?
        Greetings

        Reply
  63. When i get to this step:

    $ ./tools/wineinstall

    The result came to this..

    We need to install Wine as the root user. Do you want us to build Wine,
    ‘su root’ and install Wine? Enter ‘no’ to build Wine without installing:
    (yes/no) yes
    Running configure…

    checking build system type… i686-pc-linux-gnu
    checking host system type… i686-pc-linux-gnu
    checking whether make sets $(MAKE)… yes
    checking for gcc… no
    checking for cc… no
    checking for cl.exe… no
    configure: error: in `/tmp/wine-1.5.21′:
    configure: error: no acceptable C compiler found in $PATH
    See `config.log’ for more details

    Configure failed, aborting install.

    Though I have followed your guide as it says.
    This is running on my CentOS 5.8 VPS. Help?

    Reply
    • You don’t have C compiler and build tools, first install them like.

      # yum groupinstall "Development Tools"
      

      Then compile and build Wine as normal user.

      Reply
      • $ ./tools/wineinstall

        The result came to this..

        We need to install Wine as the root user. Do you want us to build Wine,
        ‘su root’ and install Wine? Enter ‘no’ to build Wine without installing:
        (yes/no) yes
        Running configure…

        checking build system type… i686-pc-linux-gnu
        checking host system type… i686-pc-linux-gnu
        checking whether make sets $(MAKE)… yes
        checking for gcc… no
        checking for cc… no
        checking for cl.exe… no
        configure: error: in `/tmp/wine-1.5.21′:
        configure: error: no acceptable C compiler found in $PATH
        See `config.log’ for more details

        Configure failed, aborting install.

        Though I have followed your guide as it says.

        # yum groupinstall “Development Tools”

        how to install Development Tools CentOS DVD no have please help me

        Reply
  64. Hi,

    Im having this problem when I run

    ./tools/wineinstall and also ./configure

    configure: error: X development files not found. Wine will be built
    without X support, which probably isn’t what you want. You will need
    to install development packages of Xlib/Xfree86 at the very least.
    Use the –without-x option if you really want this.

    please help

    thanks

    Reply
    • @Ariel Chiong,
      You need to install X11 and freetype development files with flex and bison packages. install them using YUM command.

      yum -y install libX11-devel freetype-devel flex bison
      
      Reply
      • it works sir! very much thank you and A merry Christmas to you,
        I can see now its installing, I give you an update once done. again Thank you

        Reply
          • Hi SIr, just a question, do you know an article or an tutorial regarding in LDAP in RedHat? server and client tutorial. I cant seem to find any here on this website. thanks in advanced.

          • @Ariel Chinong,
            We are working on LDAP and Client setup on one of our Linux Box. We will soon made this available for you..

      • I came across the same problem but even after installing libX11-devel, freetype-devel, flex and bison could not solve the problem. Then I found that as my machine is 64 bit CentOS-6.2, I need to install the 32 bit version of the mentioned programs. Here is the command for 64 bit centos/fedora/red-hat:

        yum -y install libX11-devel.i686 freetype-devel.i686 flex bison

        Reply
  65. trouble with wine startup

    i have installed wine through the yum utility in fedora 17 and now have upgraded the package.

    the wine installer or any other application except the wine configuration they don’t even startup i had removed my ~/.wine configuration and after that when i try to install *.exe program again, it appears saying “updating the wine configuration” then that dialog disappears and nothing happens after that.
    really stuck help me …

    (the wine was not working before upgrading not even after update)

    thanks in advance

    Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.