WineHQ

Debian: Difference between revisions

(Created page with "== Installing WineHQ packages == First, enable 32 bit packages: sudo dpkg --add-architecture i386 Then install key which was used to sign packages: wget https://dl.wineh...")
 
(Add Debian Buster as supported distro.)
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Installing WineHQ packages ==
== Installing WineHQ packages ==
{{info}} '''''Raspbian users:''' the WineHQ packages are for x86 architecture only; they cannot be installed on an ARM system.''


First, enable 32 bit packages:
First, enable 32 bit packages:
Line 7: Line 8:
Then install key which was used to sign packages:
Then install key which was used to sign packages:


  wget https://dl.winehq.org/wine-builds/Release.key
  wget -nc https://dl.winehq.org/wine-builds/Release.key
  sudo apt-key add Release.key
  sudo apt-key add Release.key


Line 14: Line 15:
  deb https://dl.winehq.org/wine-builds/debian/ DISTRO main
  deb https://dl.winehq.org/wine-builds/debian/ DISTRO main


with DISTRO being either wheezy, jessie, stretch or sid
with DISTRO being either wheezy, jessie, stretch, buster or sid


''To avoid problems with missing dependencies, Wheezy users should also add the following to /etc/apt/sources.list (if it is not already there):''
''To avoid problems with missing dependencies, Wheezy users should also add the following to /etc/apt/sources.list (if it is not already there):''
Line 24: Line 25:
  sudo apt-get update
  sudo apt-get update


Then install (example for the development branch):
Then install '''one of the following packages''':


  sudo apt-get install winehq-devel
{|  style="width: 100%" class="wikitable"
 
! Stable branch
If you prefer to use the Staging branch, replace `winehq-devel` with `winehq-staging` in the line above.
|
sudo apt-get install --install-recommends winehq-stable
|-
! Development branch
|
  sudo apt-get install --install-recommends winehq-devel
|-
! Staging branch
|
sudo apt-get install --install-recommends winehq-staging
|}


If apt-get complains about missing dependencies, install them, then repeat the last two steps (update and install).
If apt-get complains about missing dependencies, install them, then repeat the last two steps (update and install).
Line 65: Line 76:


== Building WoW64 ==
== Building WoW64 ==
Debian'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 BuildingWine for instructions on how to build in a chroot or container.
Debian'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 Wine]] for instructions on how to build in a chroot or container.


== See Also ==
== See Also ==
* Official WineHQ [https://dl.winehq.org/wine-builds/debian/dists/ download site] for Debian.  
* Official WineHQ [https://dl.winehq.org/wine-builds/debian/dists/ download site] for Debian.  
* The [https://wiki.debian.org/Wine Debian Wiki's page for Wine.]
* The [https://wiki.debian.org/Wine Debian Wiki's page for Wine.]
* ["BuildingWine"]
* [[Building Wine]]
* ["Packaging"]
* [[Packaging]]
* ["WineMultiArch"]


----
[[Category:Distributions]]
CategoryDistributions

Revision as of 15:51, 18 July 2017

Installing WineHQ packages

Raspbian users: the WineHQ packages are for x86 architecture only; they cannot be installed on an ARM system.

First, enable 32 bit packages:

sudo dpkg --add-architecture i386

Then install key which was used to sign packages:

wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key

Next add the repository to /etc/apt/sources.list or create a *.list under /etc/apt/sources.list.d/ with the following content:

deb https://dl.winehq.org/wine-builds/debian/ DISTRO main

with DISTRO being either wheezy, jessie, stretch, buster or sid

To avoid problems with missing dependencies, Wheezy users should also add the following to /etc/apt/sources.list (if it is not already there):

deb http://ftp.de.debian.org/debian/ oldstable main

Update packages:

sudo apt-get update

Then install one of the following packages:

Stable branch
sudo apt-get install --install-recommends winehq-stable
Development branch
sudo apt-get install --install-recommends winehq-devel
Staging branch
sudo apt-get install --install-recommends winehq-staging

If apt-get complains about missing dependencies, install them, then repeat the last two steps (update and install).


Some notes on the WineHQ packages:

  • Files are installed to /opt/wine-devel.
  • 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.
  • 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.

Building a Source Package

The wine-builds repository does not at present include Debian source packages (see bug 39782); however, you can create one yourself.

Download or clone the packaging git repo and execute the following line:

./generate.py --skip-name --out wine-VERSION_source_dir DISTRO

DISTRO can be one of the following values:

debian-wheezy-development
debian-wheezy-staging
debian-jessie-development
debian-jessie-staging
debian-stretch-development
debian-stretch-staging
debian-sid-development
debian-sid-staging

Use `debuild` inside of the wine directory to build the package.

Building WoW64

Debian'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 Wine for instructions on how to build in a chroot or container.

See Also

This page was last edited on 18 July 2017, at 15:51.