Wine is an open-source, free and easy-to-use program. Windows programs run on CentOS, macOS, FreeBSD, and Linux machines using Wine software.
Install wine 7 on ubuntu 22.04; Through this tutorial, we will learn how to install and configure wine 7 on Linux ubuntu 22.04.
How To Install Wine 7.0 on Ubuntu 22.04 using Terminal
Steps to install wine 7 on ubuntu 22.04 using terminal or command line:
- Step 1 – Update System Packages
- Step 2 – Enable 32-bit architecture
- Step 3 – Add Wine Repository
- Step 4 – Add Wine GPG key
- Step 5 – Install Wine on Ubuntu 22.04
- Step 6 – Verify Wine Installation
Step 1 – Update System Packages
First of all, open terminal and execute the following command on terminal to update system packages:
$ sudo apt update
Step 2 – Enable 32-bit architecture
Now, execute the following command on terminal to enable 32 bit architecture:
$ sudo dpkg --add-architecture i386
Step 3 – Add Wine Repository
Add wine repository by executing the following command on terminal:
$ sudo apt install wget $ wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
Once you have added wine repository, now you need to move the Wine repository to the system directory:
$ sudo mv winehq-jammy.sources /etc/apt/sources.list.d/
Step 4 – Add Wine GPG key
After that, add wine GPG key by executing the following command on terminal:
$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
Step 5 – Install Wine on Ubuntu 22.04
Install wine on ubuntu by executing the following command on terminal:
$ sudo apt install --install-recommends winehq-devel
Step 6 – Verify Wine Installation
Finally, execute the following command on terminal to verify wine installation on ubunut 22.04.
$ wine --version
Conclusion
Through this tutorial, we have learned how to install and configure wine 7 on Linux ubuntu 22.04.