Install Wine on Ubuntu 18.10 Cosmic Cuttlefish Linux

Objective

The objective is to install Wine on Ubuntu 18.10 Cosmic Cuttlefish Linux

Operating System and Software Versions

  • Operating System: – Ubuntu 18.10 Cosmic Cuttlefish Linux
  • Software: – Wine 3.0, Wine 3.2 or higher

Requirements

Privileged access to your Ubuntu System as root or via sudo command is required.

Conventions

  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

Other Versions of this Tutorial

Ubuntu 20.04 (Focal Fossa)

Instructions

The recommended approach to install Wine on Ubuntu 18.04 is to perform the installation from an Ubuntu repository as it will provide you with a stable wine version.

In case the Wine version available from Ubuntu repository does not fit your purpose, you may install Wine directly from WineHQ repositories which will yield latest stable or development Wine version possible.

Install Wine from Ubuntu repository

To install Wine from a standard Ubuntu repository open up terminal and enter:

FOR 64bit:
$ sudo apt install wine64
FOR 32bit:
$ sudo apt install wine32

Check your Wine version once the installation is complete:

$ wine --version
wine-3.0.2 (Ubuntu 3.0.2-3)

Install Wine from WineHQ repository

The following procedure can be used to install Wine directly using WinHQ packages. To start add i386 architecture if you are running your Ubuntu 18.10 system on 64-bit hardware:

$ sudo dpkg --add-architecture i386 

Next add WineHQ signing key and repository:

$ wget -qO- https://dl.winehq.org/wine-builds/Release.key | sudo apt-key add -
$ sudo apt-add-repository 'deb http://dl.winehq.org/wine-builds/ubuntu/ bionic main'

Next, you can make a choice to select between Wine stable or development version.



WineHQ Stable

To install stable WineHQ packages enter:

sudo apt-get install --install-recommends winehq-stable

Check version after Wine installation:

$ wine --version
wine-3.0.3

WineHQ Development

To install stable WineHQ packages enter:

sudo apt-get install --install-recommends winehq-devel

Check version after Wine installation:

$ wine --version
wine-3.18