How to Install Wine in Ubuntu 🍷

Wine is a compatibility layer that allows you to run Windows applications (.exe files) on Ubuntu/Linux.


Step 1: Update System

First update the package list.

sudo apt update
sudo apt upgrade

Step 2: Enable 32-bit Architecture

Wine requires 32-bit support.

sudo dpkg --add-architecture i386

Step 3: Install Wine

Install Wine using the Ubuntu repository.

sudo apt install wine

Step 4: Check Wine Version

After installation, verify Wine.

wine --version

Example output:

wine-8.x

Step 5: Configure Wine

Run Wine configuration:

winecfg

This will:

  • Create a Wine directory
  • Set Windows compatibility settings.

Step 6: Run Windows Software

To run a Windows program:

wine program.exe

Example:

wine setup.exe

Summary

StepCommand
Update systemsudo apt update
Enable 32-bitsudo dpkg --add-architecture i386
Install Winesudo apt install wine
Check versionwine --version
Configure Winewinecfg

By admin

Leave a Reply

Your email address will not be published. Required fields are marked *