02.08.2023

How to install and configure Wine Ubuntu?

Introduction

Nowadays, on the market IT technologies we can see the various operating system from no fewer vendors and each try to build efficiency, rapidly and stable system. But different people have different point of view for building new product which have to generate income and will competitive in comparison to other product. Modern network architecture assume set and stack of using technologies from various of vendors, but how to relate and connect this features, advantages from different OS?

For that we have Wine! Open source utility and emulator that can help to run different application on UNIX set of OS. But, do we sure need this?

The main causes of problems:

All these problems can be overcome using various methods, such as using emulators (for example, Wine) or virtual machines that allow you to run Windows applications on Linux. However, this may require additional configuration and may not ensure 100% compatibility and stability of applications. Therefore, it is recommended to use alternative applications designed specifically for Linux whenever possible to ensure the best performance and compatibility.

Requirements

Installation

First of all we need to update and upgrade system packages in our machine for their properly work:

apt update && apt upgrade -y

Screenshot №1 — Update OS

Adding a new architecture for Linux machine. Wine supports application on 32bit architecture but there is one except, due to reason not at all support on 64bit systems. So to add support for the 32bit architecture, enter this command:

dpkg --add-architecture i386

Screenshot №2 — Adding architecture

Reminder! All bundle of software will required at least 30Gb of free disk space and at least two core of CPU to run the process, in the next step let's install main component of that system Wine:

apt install wine

During the installation process, the system may request your confirmation to install additional packages. Just press "Y" and "Enter" to continue the installation. Several Windows application needs GUI, let's install:

add-apt-repository ppa:shemgp/gnome-40
apt update && apt install mutter gnome-session gnome-shell

Screenshot №3 — Adding Gnome shell

After end process installation Gnome shell and Wine we need to check until we go to the GUI, version and correct installation:

wine --version

Screenshot №4 — Wine version

If you see that command line raw that mean installation was finished properly! Add new user into machine for security purpose, we don't want to compromise any data and allows to share responsibilities and create a secure environment. It is usually recommended not to use accounts with administrative rights in everyday tasks to reduce the likelihood of errors or malicious actions, for that enter command below:

adduser jhon && usermod -aG sudo jhon

Screenshot №5 — Add user

And we can switch to the GUI interface, you need to open Serverspace panel and choose needed server:

Screenshot №6 — Right top corner

On the right top corner we can see button Web console, click on it and we will redirect to GUI interface of our machine:

Screenshot №6 — GUI interface

Or you can use another utility to connect via GUI:

However return to our installation process open terminal in applications and enter:

winecfg

Screenshot №8 — Configuration

Conclusion

Wine empowers Linux users to transcend the barriers of OS incompatibility and embrace a more integrated computing experience. While alternative applications designed specifically for Linux are recommended for optimal performance and compatibility, Wine provides a valuable bridge for accessing Windows software in the Linux environment.