Running Windows ?? on Linux ??: Exploring Cross-Platform Compatibility with Wine ??
G.V.S. Ravi Kiran Varma
CISCO 2023 APJC AIR 10 || Cloud | RHEL | CCNA | DevOps | WebDev | UI/UX | Python | Java || Jr Software Engineer @VTS
Introduction:
Wine?is an open-source and free application for Linux that enables users to run any windows based software and games on Unix/Linux-like operating system.
Recently, the Wine team proudly announced the stable release of?7.0?and made available for download in source and binary packages for various distributions such as?Linux,?Windows?and?Mac.
Installing Wine Using Source Code in RHEL Systems
Step 1: Installing Dependency Packages
We need to install ‘Development Tools‘ with some core development tools such as?GCC,?flex,?bison,?debuggers, etc. this software is must required to compile and build new packages, install them using?YUM command.
# yum -y groupinstall 'Development Tools
# yum install gcc /
libX11-devel /
freetype-devel /
zlib-devel /
libxcb-devel /
libxslt-devel /
libgcrypt-devel /
libxml2-devel /
gnutls-devel /
libpng-devel /
libjpeg-turbo-devel /
libtiff-devel /
dbus-devel /
fontconfig-devel'
Step 2: Downloading the Wine Source Code
Download the source file using?wget command?under?/tmp?directory as a normal?User.
$ cd /tm
$ wget https://dl.winehq.org/wine/source/7.0/wine-7.0.tar.xzp
Step 3: Extracting Wine Source Code
Once the file is downloaded under?/tmp?directory, use the below?tar command?to extract it.
领英推荐
$ tar -xvf wine-7.0.tar.xz -C /tmp/
Step 4: Compiling Wine from Sources
It is recommended to compile and build?a Wine?installer as a normal?User. Run the following commands as a normal user.
$ cd wine-7.0/
$ ./configure --enable-win64
$ make
# make install [Run as root User]
Once the?X Window System?installed, run the command as a normal user to see wine configuration.
$ winecfg
To run the?Wine, you must specify the full path to the executable program or program name as shown in the example below.
$ wine64 notepad
$ wine64 c:\\windows\\notepad.exe
That's it you Successfully launched windows applications on Linux...!
Summary:
Wine is not perfect, because while using wine we see so many programs crashes. I think the wine team will soon fix all bugs in their upcoming version meanwhile do share your comments using our below form.
Great Thanks to Vimal Daga Sir and LinuxWorld Informatics Pvt Ltd Team..!