ObjectiveThe objective is to install Wine on Ubuntu 18.04 Bionic Beaver Linux
Operating System and Software Versions
- Operating System: - Ubuntu 18.04 Bionic Beaver
- Software: - Wine 3.0, Wine 3.2 or higher
RequirementsPrivileged access to your Ubuntu System as root or via
sudocommand is required.
- # - requires given linux commands to be executed with root privileges either directly as a root user or by use of
- $ - requires given linux commands to be executed as a regular non-privileged user
InstructionsThe 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 repositoryTo install Wine from a standard Ubuntu repository open up terminal and enter:
FOR 64bit: $ sudo apt install wine64 FOR 32bit: $ sudo apt install wine32Check your version once the Wine installation is complete:
$ wine --version wine-3.0
Install Wine from WineHQ repositoryThe following procedure can be used to install Wine directly using WinHQ packages. To start add
i386architecture if you are running your Ubuntu 18.04 system on 64-bit hardware:
$ sudo dpkg --add-architecture i386Next add WineHQ signing key and repository:
$ wget -qO- https://dl.winehq.org/wine-builds/winehq.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 StableTo install stable WineHQ packages enter:
sudo apt-get install --install-recommends winehq-stableCheck version after Wine installation:
$ wine --version wine-3.0.3
WineHQ DevelopmentTo install stable WineHQ packages enter:
sudo apt-get install --install-recommends winehq-develCheck version after Wine installation:
$ wine --version wine-3.18