We need to install ‘Development Tools‘ with some core development tools such gcc, flex, bison,debuggers etc. these software’s are must required to compile and build new packages, install them using YUM command.windows
# yum -y groupinstall 'Development Tools' # yum -y install libX11-devel libxml2-devel libxslt-devel freetype-devel flex bison
Note: On Fedora 22+ versions, yum package manager no longer in use, you should use dnf instead yum in the command below.flex
# dnf -y groupinstall 'Development Tools' # dnf -y install libX11-devel libxml2-devel libxslt-devel freetype-devel flex bison
Read more about Learn dnf command with these 27 examples.ui
Download the source file using Wget command under /tmp directory as a normal User.spa
$ cd /tmp $ wget http://dl.winehq.org/wine/source/1.8/wine-1.8.tar.bz2
Once the file is downloaded under /tmp directory, use the below commands to extract it.debug
$ tar -xvf wine-1.8.tar.bz2 -C /tmp/
It is recommended to compile and build Wine installer as a normal User. Run the following commands as normal user.code
Note : The installer might take up-to 20-30 minutes and in the middle it will ask you to enter rootpassword.orm
$ cd wine-1.8/ $ ./tools/wineinstall
Note: If you don’t want to mess with these all source code compilation and installation, there is an easy way using epel repository, but the available version of wine bit older.xml
Let’s first install and enable EPEL repository to install wine as shown:ci
# yum install epel-release # yum install wine
Once the installation completes run the 「winecfg」 configuration tool from KDE or GNOME desktop to see the supported configuration. If you don’t have any of the desktop, you can install it by using the below command as root user.get
# yum groupinstall "X Window System" "GNOME Desktop Environment" OR # yum groupinstall "X Window System" "KDE (K Desktop Environment)" # yum groupinstall "GNOME Desktop" [On CentOS 7] # yum groupinstall "Server with GUI" [On RHEL 7]
Once the X Window System installed, run the command as normal user to see wine configuration.
$ winecfg
Winecfg Configuration
To run the Wine, you must specify the full path to the executable program or program name as shown in 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 is not perfect, because while using wine we see so many programs crashes. I think wine team will soon fix all bugs in their upcoming version and meanwhile do share your comments using our below form.