------------------------------------------------------------------------------------
install WINE in Fedora 23 or Later
------------------------------------------------------------------------------------
dnf clean all
dnf upgrade
## Consider running this command (provided by Zhenbo, tested on Fedora 23)
## on Fedora 24, can not install libcapifax-devel.i686
dnf install alsa-plugins-pulseaudio.i686 glibc-devel.i686 glibc-devel libgcc.i686 libX11-devel.i686 freetype-devel.i686 libXcursor-devel.i686 libXi-devel.i686 libNX_Xext-devel.i686 libXext-devel.i686 libXxf86vm-devel.i686 libXrandr-devel.i686 libXinerama-devel.i686 mesa-libGLU-devel.i686 mesa-libOSMesa-devel.i686 libXrender-devel.i686 libpcap-devel.i686 ncurses-devel.i686 libzip-devel.i686 lcms2-devel.i686 zlib-devel.i686 libv4l-devel.i686 libgphoto2-devel.i686 libcapifax-devel.i686 cups-devel.i686 libxml2-devel.i686 openldap-devel.i686 libxslt-devel.i686 gnutls-devel.i686 libpng-devel.i686 flac-libs.i686 json-c.i686 libICE.i686 libSM.i686 libXtst.i686 libasyncns.i686 libedit.i686 liberation-narrow-fonts.noarch libieee1284.i686 libogg.i686 libsndfile.i686 libuuid.i686 libva.i686 libvorbis.i686 libwayland-client.i686 libwayland-server.i686 llvm-libs.i686 mesa-dri-drivers.i686 mesa-filesystem.i686 mesa-libEGL.i686 mesa-libgbm.i686 nss-mdns.i686 ocl-icd.i686 pulseaudio-libs.i686 python-talloc.x86_64 sane-backends-libs.i686 tcp_wrappers-libs.i686 unixODBC.i686 samba-common-tools.x86_64 samba-libs.x86_64 samba-winbind.x86_64 samba-winbind-clients.x86_64 samba-winbind-modules.x86_64 mesa-libGL-devel.i686 fontconfig-devel.i686 libXcomposite-devel.i686 libtiff-devel.i686 openal-soft-devel.i686 mesa-libOpenCL-devel.i686 opencl-utils-devel.i686 alsa-lib-devel.i686 gsm-devel.i686 libjpeg-turbo-devel.i686 pulseaudio-libs-devel.i686 pulseaudio-libs-devel gtk3-devel.i686 libattr-devel.i686 libva-devel.i686 libexif-devel.i686 libexif.i686 glib2-devel.i686
dnf groupinstall "C Development Tools and Libraries"
dnf groupinstall "Development Tools"
------------------------------------------------------------------------------------
Also, you need some packages from rpmfusion
dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
------------------------------------------------------------------------------------
dnf install libmpg123-devel.i686 gstreamer-plugins-base-devel gstreamer-devel.i686 gstreamer.i686 gstreamer-plugins-base.i686 gstreamer-devel gstreamer1.i686 gstreamer1-devel gstreamer1-plugins-base-devel.i686 gstreamer-plugins-base.x86_64 gstreamer.x86_64 gstreamer1-devel.i686 gstreamer1-plugins-base-devel gstreamer-plugins-base-devel.i686 gstreamer-ffmpeg.i686 gstreamer1-plugins-bad-free-devel.i686 gstreamer1-plugins-bad-free-extras.i686 gstreamer1-plugins-good-extras.i686 gstreamer1-libav.i686 gstreamer1-plugins-bad-freeworld.i686
------------------------------------------------------------------------------------
dnf install libX11-devel freetype-devel zlib-devel libxcb-devel
wget https://dl.winehq.org/wine/source/1.9/wine-1.9.15.tar.bz2
tar xjf wine-1.9.15.tar.bz2
[root@localhost wine-1.9.15]# pwd
/opt/tools/wine-1.9.15
[root@localhost wine-1.9.15]#
## For 32-Bit Systems:
./configure
## For 64-Bit Systems:
./configure --enable-win64
make -j5
make install
------------------------------
/usr/local/bin/wine*
/usr/local/include/wine/
/usr/local/lib/wine/
/usr/local/share/man/man1/wine*
------------------------------
## On 32-Bit Systems:
wine --version
## On 64-Bit Systems:
wine64 --version
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[root@localhost source-insight]# wine Source-Insight-3.5.exe
wine: created the configuration directory '/root/.wine'