How to use Wine on Linux (with pictures)

Table of contents:

How to use Wine on Linux (with pictures)
How to use Wine on Linux (with pictures)
Anonim

This article will show you how to install and run Wine on a Linux computer. Wine is a program that allows you to run Windows programs on a computer running a non-Windows operating system.

Steps

Part 1 of 3: How to Install Wine

Use Wine on Linux Step 1
Use Wine on Linux Step 1

Step 1. Open a terminal

Select "Terminal" in the system menu or in the list of installed programs.

  • On most Linux distributions, you can press Ctrl + Alt + T to open a terminal.
  • On some Linux distributions, the terminal line is at the top of the screen.
Use Wine on Linux Step 2
Use Wine on Linux Step 2

Step 2. Activate 32-bit architecture

If your computer has a 64-bit processor, enable 32-bit mode. For this:

  • enter

    sudo dpkg --add-architecture i386

    in the terminal and press ↵ Enter;
  • enter the administrator password and press ↵ Enter.
Use Wine on Linux Step 3
Use Wine on Linux Step 3

Step 3. Link the computer bootloader to the Wine website

This will allow the computer to find the correct files to download. For this:

  • enter

    wget -nc

    and press ↵ Enter;
  • enter

    sudo apt-key add Release.key

    and press ↵ Enter;
  • enter the administrator password.
Use Wine on Linux Step 4
Use Wine on Linux Step 4

Step 4. Add the Wine repository to your list of repositories

Depending on your Linux distribution, enter the following command:

  • Ubuntu -

    sudo apt-add-repository

  • Mint -

    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'

Use Wine on Linux Step 5
Use Wine on Linux Step 5

Step 5. Update the downloaded packages

Enter

sudo apt-get update

and press ↵ Enter.

Use Wine on Linux Step 6
Use Wine on Linux Step 6

Step 6. Select download

As of March 2018, the stable version of Wine can be downloaded by entering

sudo apt-get install --install-recommends winehq-stable

and press ↵ Enter.

It is possible that future versions of Wine will support several different types of stable downloads

Use Wine on Linux Step 7
Use Wine on Linux Step 7

Step 7. Confirm the download

Type y and press ↵ Enter, then enter your administrator password (if prompted). Wine will begin downloading and installing on your computer.

Use Wine on Linux Step 8
Use Wine on Linux Step 8

Step 8. Wait for Wine to download and install

This will take 10 minutes.

Part 2 of 3: How to set up Wine

Use Wine on Linux Step 9
Use Wine on Linux Step 9

Step 1. Create a Windows home directory

Enter

winecfg

, press ↵ Enter, and then look for the confirmation message “created the configuration directory 'home / name /.wine”.

If you are prompted to install any missing packages, click Install and wait for the packages to install

Use Wine on Linux Step 10
Use Wine on Linux Step 10

Step 2. Select your Windows version

Open the Windows Version menu at the bottom of the Wine Configuration window, and then select the Windows version (for example, Windows 7) that you want to use.

If this option is grayed out, first click on the Applications tab at the top of the window

Use Wine on Linux Step 11
Use Wine on Linux Step 11

Step 3. Click Apply

This button is at the bottom of the window. The settings will be saved.

Use Wine on Linux Step 12
Use Wine on Linux Step 12

Step 4. Click OK

This button is at the bottom of the window. The window will close.

Use Wine on Linux Step 13
Use Wine on Linux Step 13

Step 5. Download the Windows program in EXE format

Find the EXE file of the program you want (for example, 7-zip) and download it. Now you can install the program.

The Wine website provides a complete list of programs that are compatible with Wine

Part 3 of 3: How to install the program

Use Wine on Linux Step 14
Use Wine on Linux Step 14

Step 1. Open your Downloads folder

You will find it in the "Home" folder. You can also open the Downloads folder from the Applications menu.

Use Wine on Linux Step 15
Use Wine on Linux Step 15

Step 2. Find the downloaded EXE file

To do this, scroll through the contents of the "Downloads" folder.

Use Wine on Linux Step 16
Use Wine on Linux Step 16

Step 3. Right-click on the file

A dropdown menu will open.

Use Wine on Linux Step 17
Use Wine on Linux Step 17

Step 4. Click Open with Wine

It's near the top of the menu. The installation window will open.

Use Wine on Linux Step 18
Use Wine on Linux Step 18

Step 5. Click Install

It's at the bottom of the setup window. The installation of the program on your computer will start.

  • To install some programs, you need to enter additional information.
  • To change the folder where the program will be installed, click "⋯" on the right side of the window, and then select a different folder on your computer.
Use Wine on Linux Step 19
Use Wine on Linux Step 19

Step 6. Click Close when prompted

This option will become available when the program is installed.

Use Wine on Linux Step 20
Use Wine on Linux Step 20

Step 7. Run the program

Do this in the Applications section of the system menu.

Advice

  • You can also install a Wine user interface called PlayOnLinux, which allows you to install, uninstall, and access Wine programs. To do this, open a terminal, when you install Wine, type

    sudo apt install playonlinux

    , enter your password and confirm the download by entering y.
  • Check Wine website regularly for updates.

Popular by topic