How to install wine in linux to run windows program, linuxwine

Source: Internet
Author: User

How to install wine in linux to run windows program, linuxwine

Wine Introduction

Wine Is short for Wine Is Not an Emulator (Wine Is Not a simulator). It Is actually a conversion layer (or program loader ), it can run Windows applications on Linux and other similar POSIX-compatible operating systems. Wine cannot simulate Windows applications on Linux, but provides other methods to implement DLL (typical Windows applications can call these DLL) and replace Windows NT kernel processes. Wine is completely composed of non-Microsoft code.

Wine supports a large number of applications, but not all of them have the same support. You can access Wine application database (AppDB, https://appdb.winehq.org) to see how compatible your commonly used Windows application and Wine are. AppDB is maintained by the community. You can also add applications you have discovered. AppDB defines the following types:

Platinum: if an application can be installed and run smoothly out-of-the-box, it can be rated Platinum level. The Wine configuration file does not need to be changed.

Gold: applications can run smoothly and collaboratively with some DLL coverage files, other settings, or third-party software.

Silver: in normal use, applications can run well. For example, the game runs well in single Player mode, but not in multiplayer mode. Windows Media Player works well as a plug-in and independent Player, but cannot handle digital rights management (DRM).

Bronze: applications can run, but there are some problems, even common use. For example, games cannot correctly redraw or display fonts with incorrect colors, which is much slower than normal.

Spam: if the application cannot be used for its original purpose, it will get this rating. In this case, the general software defect tracking system Bugzilla should have at least one software defect report. Applications cannot be installed, started, or started, and there are many errors that make them almost unusable.

1. Install Wine

Wine is applicable to all popular UNIX operating systems, including Ubuntu, Debian, Red Hat, SUSE, Mandriva, FreeBSD, Solaris, and Mac OS X.

On Ubuntu:

1. installation through the Unbuntu Software Center

1. Open Applications> Ubuntu Software Center to open the Ubuntu Software Center.

Click Edit> Software Sources ). Select the Other Software tab and click Add ). Enter the following apt lines:

Ppa: ubuntu-wine/ppa

2. Select "PPA for Ubuntu Wine Team" from the menu on the Right of Allsoftwares, and then select Microsoft Windows Compatibility Layer (Development files)-wine1.3-dev.

Click Install ). This will install the latest Wine software package, including the Development Library.

Tip: uninstall the existing Wine software package to ensure maximum compatibility. In addition, if you want to clean the installation, you can delete the Wine user directory, so you can use the command rm-r-v. wine from the main directory.

2. installation through a terminal

Terminal input [how to install and run a Windows Application in Ubuntu14.04]

Sudo add-apt-repository ppa: ubuntu-wine/ppa

Sudo apt-get update

Apt-get install wine1.7

Wine -- version

Ii. Install the Wine support package

Now, we need to install a non-open-source (but free) support package. This includes software packages such as Microsoft Core Fonts and Visual C ++ runtime environment.

Install Cabextract:

This software package is required to decompress the Microsoft. cab file.

$ Sudo apt-get install cabextract

Download the winetricks script:

Now we need to download a great script named winetricks, which will automatically download and install necessary support packages.

$ Wget

Run the following command to install the necessary support packages:

$ Sh winetricks corefonts Tahoma

Tip: You can also run winetricks without any command line parameters, so that you can select the software package to be installed from the beautiful GUI.

Related Article

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.