在CentOS 5.9 安装Windwos程序模拟器 Wine

本文提供了一种简单的方法来安装最新的Wine 1.5.27版本,在RHEL 6.4/6.3/6.2/6.1/6/5.9/5.8/5.6、CentOS 6.4/6.3/6.2/6.1/6/5.9/5.8/5.6和Fedora 18,17,16,15,14,13,12上使用源代码进行安装。指导步骤包括依赖包安装、下载、解压及安装过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

转自: http://www.tecmint.com/install-wine-in-rhel-centos-and-fedora/

Wine is an open source and free application for Linux that enables users to run any windows based application on Unix/Linux like operating system. Wine team is keep releasing their versions in every two weeks. Last day the founder of Wine project Alexandre Julliardannounced the release of version 1.5.27 with some additional improvements and bug fixes. To know more about new features and changes visit athttp://www.winehq.org/announce/1.5.27

Read also : Install Wine 1.5.27 in Ubuntu and Linux Mint

Install Wine in Linux

Install Wine in Linux

In this article we will guide you a simplest way to install latest release of Wine 1.5.27 version inRHEL 6.4/6.3/6.2/6.1/6/5.9/5.8/5.6CentOS 6.4/6.3/6.2/6.1/6/5.9/5.8/5.6 andFedora 18,17,16,15,14,13,12 using source code.

Install Wine 1.5.27 in RHEL 6.4/6.3/6.2/6.1/6/5.9/5.8CentOS 6.4/6.3/6.2/6.1/6/5.9/5.8 and Fedora 18,17,16,15,14,13,12

Installing Wine 1.5.27 in RHEL, CentOS and Fedora

Step 1: Installing Dependency Packages

We need to install ‘Development Tools‘ with some core development tools such gccflex,bisondebuggers etc. these software’s are must required to compile and build new packages, install them using YUM command.

# yum -y groupinstall 'Development Tools'
# yum -y install libX11-devel freetype-devel
Step 2: Downloading Wine 1.5.27

Download the source file using Wget command under /tmp directory as a normal User.

$ cd /tmp
$ wget http://garr.dl.sourceforge.net/project/wine/Source/wine-1.5.27.tar.bz2
Step 3: Extracting Wine 1.5.27

Once the file is downloaded under /tmp directory, use the below commands to extract it.

$ tar -xvf wine-1.5.27.tar.bz2 -C /tmp/
Step 4: Installing Wine 1.5.27

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.27/
$ ./tools/wineinstall

Once the installation completes run the “winecfg” configuration tool from KDE or GNOMEdesktop 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.

# yum groupinstall "X Window System" "GNOME Desktop Environment"
OR
# yum groupinstall "X Window System" "KDE (K Desktop Environment)"

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

$ winecfg
Winecfg Screen

Winecfg Screen

Step 5: Running Wine 1.5.27

To run the Wine, you must specify the full path to the executable program. For example shown below.

$ wine notepad
$ wine notepad.exe 
$ wine c:\\windows\\notepad.exe
Running Wine in KDE

Running Wine in KDE

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值