+5 votes
76 views
How to install Wine on Ubuntu 21.10

in Linux / Unix by (445k points)
reopened | 76 views

1 Answer

+3 votes
Best answer

How to install Wine on Ubuntu 21.10

When a Windows user migrates or must perform work on Linux systems, they will see a radical change in some aspects of the system and one of the most notable is associated with the installation of programs and applications. The reason for this is the file system that Linux uses, which is currently EXT4, compared to Windows NTFS, as they are different file systems, it will not be possible to perform any type of installation of executable files (.EXE) in Linux..

 

To help solve this we have Wine, Wine (Wine Is Not an Emulator), it avoids the use of virtual machines to use Windows programs in Linux and the reason for this is that Wine in Linux is responsible for creating a compatibility layer locally on the system to run Windows applications. Wine is compatible with all POSIX-compatible operating systems (Linux, macOS, and BSD).

 

 

Wine makes use of the simulation of the internal logic hosted in Windows operating systems, this allows translating the Windows API calls to turn them into POSIX calls and that is why we can fully use a Windows executable file there..

 

Characteristics Wine
Wine offers us:

 

  • It can be accessed from any X terminal.
  • It integrates Linux functions which can be used in Windows applications.
  • Windows applications are allowed to run using scripts.
  • It allows us to enable Windows applications so that they are available on the network through VNC and the Java / HTML5 client.

 

 

TechnoWikis will explain how to install Wine on Ubuntu 21.10.

 


To stay up to date, remember to subscribe to our YouTube channel!   SUBSCRIBE

 

 

How to install Wine on Ubuntu 21.10

 

Step 1

The first thing to do is to add the 32-bit architecture in Ubuntu, which by default is 64-bit, this allows us to run applications of this architecture, for this we open the terminal and add the 32-bit architecture to Ubuntu 21.10 with the command:
 sudo dpkg –add-architecture i386 
image

 

Step 2

Now we are going to download the Wine key using the following command:
 wget -nc https://dl.winehq.org/wine-builds/winehq.key 
image

 

Step 3

Once downloaded, we are going to install it locally in Ubuntu 21.10:
 sudo apt-key add winehq.key 
image

 

 

Step 4

We update the system so that everything related to Wine is available:
 sudo apt update 
image

 

 

Step 5

Once Ubuntu is updated, we are going to install Wine with the following command:
 sudo apt install wine64 
image

 

 

Step 6

We apply the changes by entering the letter S:

 

image

 

 

Step 7

Once Wine is installed, it is time to configure it, for this we execute the following command:
 winecfg 
image

 

 

Step 8

After the pop-up window completes its process, the following window will open:

 

image

 

 

Step 9

There we have various options to configure Wine, in Applications it is possible to define for which type of Windows version it will be used, it is available from Windows 7 to Windows 10, in the other tabs we can make the changes that we consider necessary. Apply the changes.

 

 

image

 

 

Note
In the tab "Desktop integration" we see the local paths in Ubuntu 21.10 as if we were in Windows.

 

Step 10

In the terminal we are going to check the version of Wine
 wine –version 
image

 

 

Step 11

We check the Ubuntu version:
 lsb_release -a 
image

 

 

Step 12

We are ready to use Windows applications, for this one of the methods is to click on the executable and select "Open with another application". Then search Wine.

 

 

image

 

 

Step 13

Optional in the terminal it is possible to execute the following syntax.
 wine app.exe 
image

 

Step 14

Pressing Enter will open the installation wizard:

 

image

 

 

Step 15

There we follow the steps of this:

 

image

 

Así de sencillo podemos aprovechar las ventajas de Wine para ejecutar aplicaciones de Windows en Ubuntu 21.10..

 


by (2.8m points)
edited
I'm on ubuntu 21.10 impish indri and I can't install the latest version
i love you thenk you

Related questions

+3 votes
1 answer
asked Nov 6, 2020 in Linux / Unix by backtothefuture (445k points) | 550 views
+3 votes
1 answer
asked May 13, 2020 in Linux / Unix by backtothefuture (445k points) | 3.9k views
+5 votes
1 answer
asked May 8 in Linux / Unix by backtothefuture (445k points) | 51 views
+3 votes
1 answer
asked May 8 in Linux / Unix by backtothefuture (445k points) | 63 views
+4 votes
1 answer
asked May 6 in Linux / Unix by backtothefuture (445k points) | 67 views
8,517 questions
8,621 answers
407 comments
2 users