Installing WINE On CentOS
Installing WINE On CentOS
source packages
WINE on CentOS/RHEL is installed by compiling it from source packages, so
firstly make sure that we have all the Development Tools installed on our
machine. If the Development Tools are not installed on our machine, we can
install them by executing the following yum command,
$ wget https://dl.winehq.org/wine/source/2.0/wine-2.0.2.tar.xz
After download is complete, we will extract the source package,
$ make
$ make install
That’s it, wine is now installed on your machine. There is another way, you
can install WINE on CentOS/RHEL & that way is by using the EPEL
repository, process for which is detailed below,
For Centos/RHEL 7
$ rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-
10.noarch.rpm
CentOS/RHEL 6 64 bit
$ rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-
8.noarch.rpm
CentOS/RHEL 6 32 bit
$ rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-
8.noarch.rpm
After installing EPEL repository, we will install wine by running,
$ wine windows_app.exe
That will make the ‘exe’ to execute with wine application.