Installing WineHQ packages

image

FTP Server Configuration for Ubuntu 16.04

FTP, short for File Transfer Protocol, is a network protocol that was once widely used for moving files between a client and server.

Read More

image

How to Set Up Two-Factor Authentication in Ubuntu

Two-factor authentication is a great answer to the many problems with traditional passwords.

Read More

image

How to Setup Apache Virtual Hosts on Ubuntu 16.04

Apache virtual host helps to run multiple websites on the same server. There are two types of virtual host configuration that apache supports

Read More

Ping BD Template

Clients Feedback

  • We are very much happy to seeing my website. He developed website our requirement. We wishes good luck for ping BD

    image

    Shahnewaz Art

    Indipendent Designer

Installing WineHQ packages


If you have previously installed a Wine package from another repository, please remove
it and any packages that depend on it (e.g., wine-mono, wine-gecko, winetricks) before
attempting to install the WineHQ packages, as they may cause dependency conflicts.
If your system is 64 bit, enable 32 bit architecture (if you haven't already):
sudo dpkg --add-architecture i386
Add the repository:
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
On Linux Mint 17.x, the last line should be the following:
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ trusty
main'
On Linux Mint 18.x, the last line should be the following:
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial
main'
Update packages:
sudo apt-get update
Then install one of the following packages:
Stable branch
Development branch
Staging branch
sudo apt-get install --install-recommends winehq-
stable
sudo apt-get install --install-recommends winehq-
devel
sudo apt-get install --install-recommends winehq-
staging
1/3If apt-get complains about missing dependencies, install them, then repeat the last two steps
(update and install).
If you have previously used the distro packages, you will notice some differences in the
WineHQ ones:
Files are installed to /opt/wine-devel or /opt/wine-staging.
Menu items are not created for Wine's builtin programs (winecfg, etc.), and if you are
upgrading from a distro package that had added them, they will be removed. You can
recreate them yourself using your menu editor.
Binfmt_misc registration is not added. Consult your distro's documentation for update-
binfmts if you wish to do this manually.
WineHQ does not at present package wine-gecko or wine-mono. When creating a new
wine prefix, you will be asked if you want to download those components. For best
compatibility, it is recommended to click Yes here. If the download doesn't work for you,
please follow the instructions on the Gecko and Mono wiki pages to install them
manually.
Installing without Internet
To install Wine on an Ubuntu machine without internet access, you must have access to a
second Ubuntu machine (or VM) with an internet connection to download the Wine .deb
package and its dependencies.
The procedure goes like this: On the machine with internet, add the WineHQ PPA, then cache
just the necessary packages without actually extracting them:
sudo add-apt-repository ppa:wine/wine-builds
sudo apt-get update
Then cache just the packages necessary for installing wine, without extracting them:
sudo apt-get clean
sudo apt-get --download-only install winehq-devel
sudo apt-get --download-only dist-upgrade
Copy all of the .deb files in /var/cache/apt/archives to a USB stick:
cp -R /var/cache/apt/archives/ /media/usb-drive/deb-pkgs/
Finally, on the machine without internet, install all of the packages from the flash drive:
cd /media/usb-drive/deb-pkgs
sudo dpkg -i *.deb
2/3The same instructions can also be used for an offline installation of the `winehq-staging`
packages.
Compiling WoW64
Ubuntu's implementation of Multiarch is still incomplete, so for now you can't simply install 32-
bit and 64-bit libraries alongside each other. If you're on a 64-bit system, you'll have to create
an isolated environment for installing and building with 32-bit dependencies. See Building
Biarch Wine On Ubuntu for detailed instructions for Ubuntu using LXC, and Building Wine for
general information.
See Also
Category:
Distributions
3/3