Install the official Wine 3.0 version On Debian, Ubuntu, and Linux Mint

Source: Internet
Author: User
Tags linux mint

Install the official Wine 3.0 version On Debian, Ubuntu, and Linux Mint

Wine is an open-source, free and easy-to-use program that enables Linux users to run some Windows-based applications on Unix-like operating systems. Wine is a compatible layer used to install almost all Windows program versions.

This article describes how to install Wine 17.10 On Debian 9-8, Ubuntu 17.04-16.10, 16.04-3.0, and Linux Mint 18-17 systems, install and uninstall the Windows software.

You can find all the new features and change the logs of this new version on the Wine publicity project page.

Officially Released Wine 3.0, supporting Android drivers and Direct3D 11 and 10

For details about how to compile and install Wine 17.10 RC1 in Ubuntu 3.0, see

Install Wine 3.0 stable edition on RHEL, CentOS, and Fedora

Install the official Wine 3.0 version on Ubuntu, Linux Mint, and Debian

If you want to obtain the latest version of the Wine 3.0 stable series, you must use the new Wine repository PPA, which can provide development and stable versions of Wine for Debian, Ubuntu, and Linux Mint.

To install Wine 3.0 on Ubuntu and Linux Mint, click CTRL + ALT + T on the desktop to open the terminal and run the following command to install it:

----------------- On Ubuntu -----------------

$ Sudo dpkg -- add-architecture i386 [enable 32-bit Arch]
$ Wget-nc https://dl.winehq.org/wine-builds/Release.key
$ Sudo apt-key add Release. key
$ Sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

--------------- Only on Linux Mint 17. x -----------------
$ Sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main'

----------------- Only on Linux Mint 18. x -----------------
$ Sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
$ Sudo apt-get update
$ Sudo apt-get install -- install-recommends winehq-stable

Install Wine On Debian.

$ Sudo dpkg -- add-architecture i386
$ Wget-nc https://dl.winehq.org/wine-builds/Release.key
$ Sudo apt-key add Release. key

Next, add the following resource library to the/etc/apt/sources. list file.

Deb https://dl.winehq.org/wine-builds/debian/ DISTRO main

Note: Do not forget to replace DISTRO with your Debian release, whether it is wheezy, jessie, stretch or sid.

Now update the software package repository database and install Wine, as shown below.

$ Sudo apt-get update
$ Sudo apt-get install -- install-recommends winehq-stable

Another method to obtain the latest stable Wine version (that is, the current version 3.0) is to use the following command to build wine from the source code package.

$ Wget https://dl.winehq.org/wine/source/3.0/wine-3.0.tar.xz
$ Tar-xvf wine-3.0.tar.xz
$ Cd wine-3.0/
$ Sudo./configure
$ Sudo./configure -- enable-win64 [for 64-bit platforms]
$ Sudo make & sudo make install

Start Wine 3.0

To start the wine program, you must complete the path of the cmd.exe program. For example, we will use wineto start the notepad.exe program.

$ Wine notepad.exe

Configuring Wine 3.0

The default Wine configuration is sufficient for running Windows applications, but not all Windows-based applications run under Wine. In some cases, you may need additional configuration to run certain applications or add new Windows drives to map CD-ROM drives.

Wine configuration is completed by the 'winecfg' tool. to configure wine, run the following command on the terminal.

$ Winecfg

To add a new drive, click "Drive"-> "add drive", and then give the complete path to the CD. See the following.

This is very useful for installing games and applications using cdrom and wine in Ubuntu.

Use Winetricks to install Windows Software

Winetricks is a small helper script used to download and install Windows-based software and lost DDL files. These files need to run some programs in wine. To download and install software programs, run the "winetricks" utility from the terminal. Note that the current prefix of winetricks is your home directory (/home/user/. wine ). Therefore, whether you install it in this directory.

$ Winetricks

When running "winetricks", you may receive the following error message:

/Usr/bin/winetricks: 2201:/usr/bin/winetricks: cannot create/tmp/early_wine.err.txt: Permission denied
------------------------------------------------------
Wine cmd.exe/c echo '% ProgramFiles %' returned empty string, error message 'Wine:/home/tecmint/. wine is not owned by you'

To fix this type of permission error, run the following command and replace the user name with your own user.

# Sudo chown-R username: username/tmp/early_wine.err.txt
$ Winetricks

By submitting the Wine statistical report, it will ask you a question about how to help Wine develop. Click "yes ". Click "OK" to proceed. If you do not want to submit a report to winetricks, simply close the command 'winetricks-optout '.

Next, select "Install Windows DLL or component ".

Select the software you want to install. Suppose I want to install Internet Explorer 8 and QQ FOR THE INTERNATIONAL version.

The utility automatically downloads and installs the selected software from the winetricks table.

Once the download and installation are complete, it will automatically start the program. See the following.

You can also start the program by specifying the complete path of the program.

$ Sudo wine 'C: \ Program Files \ Internet Explorer \ i0000e'

As I mentioned above, not all programs can work with Wine. Therefore, I suggest you view the Wine application database before installing any software through Wine.

Use Winetricks to uninstall Windows Software

To uninstall Internet Explorer with winetricks, run the following command to delete the program. You can also directly Delete the program directory from the. wine directory, as shown below.

$ Sudo rm-rf. wine/drive_c/Programe \ Files/Internet \ Explorer/

Uninstall Wine and Winetricks

If you are not satisfied with the wine program, you can use the following command to completely delete it.

$ Sudo apt purge winehq-stable

You can also download the Wine 3.0 source code package for other Linux distributions from the Wine download page.

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.