Red Wine in a GlassHow to Install Wine on Devuan 4CSS HTML Validator Logo
HOME Tutorials & Essays About
Tutorials & Essays About

July 27, 2021

Devuan 4 screen shot

How to Install Wine on
Devuan 4 Chimaera

Enable sudo?

Open a terminal window and issue the following command.

$ sudo echo 'Hello'

If, after accepting your password, "Hello" is displayed, you are authorized to use sudo, so you can skip to the next section, titled Disable CDROM repositories?. Otherwise, continue with the following.

Login as superuser.

$ su -l

The following enables you to use sudo. Just replace your-user-name by your own user name.

# usermod -a -G sudo your-user-name

Log out of the root account and close the Terminal window.

# exit
$ exit

Close any open apps.

In order to activate sudo for your user name, Restart your Computer.

When logged in again, continue from here to verify sudo is installed and properly configured.

-------- Waiting for computer to restart --------

To verify you can now use sudo, open a Terminal session and issue the following command.

$ sudo echo 'Hello'

The test is successful if, after requesting and receiving your password, "Hello" is displayed.

Disable CDROM repositories?

If the command

$ sudo apt update

issues an error message due to a missing CDROM repository, one cure is to remove the CDROM repository from the sources list. If there is no such error message, skip to the next section, titled Install apt-transport-https. Otherwise, continue here to fix the problem.

These steps assume the default Xfce desktop. The details will vary for other desktops.

Install apt-transport-https

Update the package database and install apt-transport-https.

$ sudo apt update
$ sudo apt install apt-transport-https

Check installed architectures

Verify 64-bit architecture. The following command should respond with "amd64".

$ dpkg --print-architecture

See if 32-bit architecture is already installed. The following command should respond with "i386"

$ dpkg --print-foreign-architectures

If it does not display "i386", execute the following.

$ sudo dpkg --add-architecture i386

Re-check with

$ dpkg --print-foreign-architectures

Add the WineHQ Debian repository

Get and install the repository key.

$ wget -nc https://dl.winehq.org/wine-builds/winehq.key

$ sudo -H gpg -o /etc/apt/trusted.gpg.d/winehq.key.gpg --dearmor winehq.key

Use the next three Terminal commands to add the Wine HQ repository for Debian 11 Bullseye to the operating system's list of repositories.

$ echo 'deb https://dl.winehq.org/wine-builds/debian/ bullseye main' > /tmp/winehq.list

$ sudo cp /tmp/winehq.list /etc/apt/sources.list.d/

$ rm /tmp/winehq.list

Execute the next command to update the package database.

$ sudo apt update

Install Wine

The next command will install Wine Stable. If you prefer Wine Development or Wine Staging, replace winehq-stable with either winehq-devel or with winehq-staging.

$ sudo apt install --install-recommends winehq-stable

Verify the installation succeeded.

$ wine --version


Facebook Logo   Twitter Logo  Reddit Logo   Quora Logo

Consider sharing your experience

Did you find this page helpful? Have constructive feedback? Wisdom to share?

Send email to Email Address
Privacy Policy

A.Z. (initials or other identifier) (date will be here)

… (your comment appears here) …