Red Wine in a GlassHow to Install Wine on Ubuntu 18.10CSS HTML Validator Logo
HOME Tutorials & Essays About
Tutorials & Essays About
Ubuntu 18.10 screen shot

How to Install Wine on Ubuntu 18.10

Also applies to the official Ubuntu 18.10 flavors Bugie, Kubuntu, Kylin, Lubuntu, MATE, Studio, and Xubuntu.

This page is no longer maintained.

As of late February 2020, Ubuntu 18.10 is well past end-of-life, and its repositories are no longer available, making OS updates and installation of Wine impossible. Consequently, this page is no longer maintained, and upgrading to a supported version of Ubuntu is recommended.

Check installed architectures

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

$ dpkg --print-architecture

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

$ dpkg --print-foreign-architectures

If "i386" is not displayed, execute the following.

$ sudo dpkg --add-architecture i386

Recheck with.

$ dpkg --print-foreign-architectures

Add the WineHQ Ubuntu repository

Get and install the repository key.

$ wget -nc
$ sudo apt-key add winehq.key

Add the repository.

$ sudo apt-add-repository 'deb cosmic main'

Update the package database.

$ sudo apt update

Install Wine

The next command will install the current stable version of Wine. Installing recent development versions of Wine is not possible. Development versions beginning with Wine 4.5 require libfaudio0, a package not available for Ubuntu 18.10, which is past end-of-life. Consider upgrading to Ubuntu 19.04 or later.

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

Verify the installation succeeded.

$ wine --version