Guild Wars on Wine/Debian

From Guild Wars Wiki
Jump to navigationJump to search
Warning-Logo.png Warning: Running Guild Wars on a non-Windows operating system, or with any other computer which does not meet the system requirements, is completely unsupported by ArenaNet and NCSoft.


Installation[edit]

Debian packages[edit]

Wine is officially packaged by Debian. To install it, simply run:

apt install wine


Alternatively you add install wine through Debian backports. You will need to modify your sources.list then run:

For Debian Stretch

apt update
apt install -t stretch-backports wine


For Debian Jessie

apt update
apt install -t jessie-backports wine


Keep in mind the release of Debian you are running, as you will need to replace the release name with what you are currently running.

WineHQ repository[edit]

Some people prefer the official WineHQ repositories for their Wine packages, but for most installations there shouldn't be a noticeable difference between WineHQ's packages and Debian's packages. If you want to switch to the WineHQ sources, modify your sources.list as indicated and run apt update before running the above command.

Binary packages for any Debian distro[edit]

Sometime on WineHQ Debian binary packages are not updated. So, if you want to download last wine release for your Debian distro (stable / testing / unstable or experimental) you can use this repository:

deb http://ansani.it/my-debian-repository/ stable contrib
deb http://ansani.it/my-debian-repository/ testing contrib
deb http://ansani.it/my-debian-repository/ unstable contrib
deb http://ansani.it/my-debian-repository/ experimental contrib
deb-src http://ansani.it/my-debian-repository/ stable contrib
deb-src http://ansani.it/my-debian-repository/ testing contrib
deb-src http://ansani.it/my-debian-repository/ unstable contrib
deb-src http://ansani.it/my-debian-repository/ experimental contrib

Simply add these lines on /etc/apt/sources.list and then run:

% apt-get update
% apt-get install wine

Building your own packages[edit]

The Debian packages usually have a greater lag than the Ubuntu packages. If you are not able to find any official Debian package for the latest Wine release, you can roll your own. This is also necessary if you want to apply any custom patches.

  1. Download the current package sources:
    % apt-get source wine
  2. Download the latest Wine source release from WineHQ.
  3. Assuming the source you downloaded is wine-2.10.tar.bz2, run:
    % cd wine_0.9.44-1      # or wherever
    % uupdate -u wine-2.10.tar.bz2
  4. Install any custom patches you need. Use the New Maintainer Guide for all patch-lore.
  5. Finally, run
    % dpkg-buildpackage -rfakeroot -us
    % cd ..
    % dpkg -i wine*_2.10-1_*.deb      # or whichever packages you want to install

If the latest sources are not any newer than the Debian or WineHQ packags, but you still want to build your own packages, you should skip steps 2 and 3, and instead add a new entry to the top of debian/changelog, incrementing the release number (i.e., the -X suffix).

See also[edit]