Now Reading: How to Setup Wine on Debian 12

Loading
svg
Open

How to Setup Wine on Debian 12

January 6, 20247 min read

Debian 12 is a Linux operating system that does not allow users to run Windows applications on their computers. Keeping in mind the increasing demand for Windows applications, developers have created an application named Liquor, Liquor There is a compatibility layer that gives you the freedom to download and install Windows applications and run them on your Linux desktop.

In this guide, you will learn:

How to Install Wine on Debian 12

you can install Liquor On Debian 12 using the following steps:

Step 1: Add Architecture

First of all, you need to add 32-bit system architecture if you are using Debian 12 AMD64 edition on your computer. This is because it allows you to run 32-bit Windows applications on 64-bit Debian systems. You can add i386 architecture on Debian with the following command:

sudo dpkg –add-architecture i386

Step 2: Create a keyrings directory on Debian

then create a directory with the name key rings In the appropriate repository directory because it is useful to store the GPG keys of Debian developers. You can use the following mkdir order to make key rings Directory on Debian system:

sudo mkdir -pm755 ,etc,apart,key rings

In the above order, -P The flag creates the parent directory if they do not exist. -M755 The flag gives users full access to the directory.

Step 3: Download GPG Key

Now download the GPG key on Debian 12 using the following command as it is required to authenticate Liquor store:

sudo Forget -O ,etc,apart,key rings,winehack-archive.org https:,dl.winehq.org,brewer,winehack.ki

Step 4: Add Wine Repository to Debian 12

After adding the GPG key, use the following command to add liquor store Up to Debian 12:

sudo Forget -NP ,etc,apart,sources.list.d, https:,dl.winehq.org,brewer,Debian,districts,bookworm,winehack-bookworm.source

Step 5: Update the Debian Repository

Now, you need to update the packages on Debian 12 using the following command to ensure that liquor store Successfully added to the system without any errors or warnings:

Step 6: Install Wine on Debian 12

Once the repository is updated, you can use the below command to install wine stable Release on Debian 12:

sudo apart to install –install-recommends winehack-stable -ya

Step 7: Check Wine Version on Debian 12

to confirm Liquor Once successfully installed on Debian 12, you can use the following command:

Comment: you can also install Liquor On Debian 12 from the appropriate repository using the following command:

However, it installs an older version on Debian which is not recommended for users. You should keep installing its updated and stable version Liquor On Debian 12 using the above steps.

How to use Wine on Debian 12

to use Liquor To run Windows applications on Debian 12, follow the steps below:

Step 1: Download a Windows Application on Debian 12

First of all, you need to download a windows application on your Debian system either you can download it directly or use wget command To download it from the terminal.

Here, I have downloaded a widely used SSH client for Windows putty Using on Debian 12 Forget Order below:

Forget https:,the.earth.li,~sgtatham,putty,latest,w32,putty.exe

Step 2: Install Apps Using Wine

To install Windows applications using Liquoryou can use wine command After that the application name you downloaded on Debian 12:

Liquor application_name.exe

click on to install Use the button to install Windows applications on Debian systems Liquor,

Comment: If you have downloaded a Windows application .msi File extension, you can use the following command from below command to install it:

Liquor msiexec ,i application_name.msi

Step 3: Run Windows Applications Using Wine

If everything goes well then use this wine command To run it on your Debian system again with the application name:

How to uninstall Windows applications from Wine on Debian 12

If you have installed Windows applications Liquor On Debian 12, use the following steps to remove it if you no longer need it:

Step 1: Open Wine Uninstaller

First, open wine uninstaller From terminal using the following command:

Step 2: Uninstall Applications from Wine

Then select the application you want to remove and select modify/remove button:

Finally, click to install Press the button again and the program will be uninstalled Liquor On Debian 12:

Step 3: Verify Uninstallation on Wine

You can verify whether the program is uninstalled successfully or not Liquor By running the following command again:

How to remove wine from debian 12

If you want to completely remove Liquor From Debian 12, you can use the following commands:

sudo apart –purify autoremove winehq-stable -ya

How to delete wine repository from debian 12

To remove Liquor treasury From Debian 12, you can use the following steps:

step 1: First go to the source repository directory on Debian 12 using the following command:

CD ,etc,apart,sources.list.d

step 2: search again liquor store Added to Debian using Ras Order below:

step 3: You can now remove the repository from Debian using rm command given below:

sudo rm winehack-bookworm.source

conclusion

Liquor is an effective tool that allows you to run Windows applications on Linux systems. you can install Liquor By downloading the gpg key on Debian 12, adding the repository, updating the package list and then installing it via apt command. After installation, you can download a Windows application on Debian and install it Liquor, then run the file using wine command With the application name on your Debian system. Step-by-step guide to install Liquor On Debian 12, install and remove applications Liquor Provided in the above section of this guide. You will also find a guide on how to remove Liquor And its repository from the system.

How do you vote?

0 People voted this article. 0 Upvotes - 0 Downvotes.
svg

What do you think?

Show comments / Leave a comment

Leave a reply

Loading
svg