Install Wine 1.7 on a RedHat or Debian-Based System

Source: Internet
Author: User
Tags linux mint

Install Wine 1.7 on a RedHat or Debian-Based System

Wine, the most popular and powerful software in Linux, can smoothly run Windows programs and games on the Linux platform.

This article teaches you how to install the latest Wine 1.7 on Red Hat and Debian systems like CentOS, Fedora, Ubuntu, and Linux Mint.

For more information about how to install the latest Wine 1.5.10 in Ubuntu 12.04, see

How to install and upgrade Wine 1.7.20 for Ubuntu or Linux Mint

Ubuntu 13.10 compilation and installation of Wine 1.7

Install Wine 1.7 in Linux

Unfortunately, there is no official Wine repository on the Red Hat-based system, so the only installation method is to compile from the source code. You need to install some dependent packages such as gcc, flex, bison, libX11-devel freetype-devel and Development Tools, which are used to compile Wine from source code. We can install them using the yum command.

On RedHat, Fedora, and CentOS
  1. # Yum-y groupinstall 'development tool'
  2. # Yum-y install flex bison libX11-devel freetype-devel

Next, download the latest development version (such as 1.7.21) and decompress it with the following command.

  1. $ Cd/tmp
  2. $ Wget http://citylan.dl.sourceforge.net/project/wine/Source/wine-1.7.21.tar.bz2
  3. $ Tar-xvf wine-1.7.21.tar.bz2-C/tmp/

Now, you need to compile and build the Wine installation program as a normal user. (Note: depending on the machine performance and network speed, the installation process takes 15-20 minutes, and the root password is required during the installation process .)

On a 32-bit System

  1. $ Cd wine-1.7.21/
  2. $./Tools/wineinstall

64-bit System

  1. $ Cd wine-1.7.21/
  2. $./Configure -- enable-win64
  3. $ Make
  4. # Make install
On Ubuntu, Debian, and Linux Mint

On Ubuntu-based systems, you can use the official PPA to easily install the latest Wine. Open a new terminal and run the following command with sudo.

  1. $ Sudo add-apt-repository ppa: ubuntu-wine/ppa
  2. $ Sudo apt-get update
  3. $ Sudo apt-get install wine 1.7 winetricks

Once installed, you can run Windows-based software and games as follows.

  1. $ Wine notepad
  2. $ Wine notepad.exe
  3. $ Wine c :\\ windows \ notepad.exe

Note: Do not use the development version in the production environment. We recommend that you use it only for testing purposes.

If you want to install the latest stable version of Wine, please refer to the following article, which describes how to install Wine in almost all Linux systems.

  • Install Wine 1.6.2 (Stable) in RHEL, CentOS and Fedora
  • Install Wine 1.6.2 (Stable) in Debian, Ubuntu and Mint
Reference
  • WineHQ Homepage

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.