Debian Debian Based

From Wine-Wiki

Jump to: navigation, search

Contents

Introduction

Wine runs well on Debian, though there are a few pitfalls for the unwary. Often the official Debian packages are reported broken and it appears best to use the Official Wine downloads. If you do try the official Debian packages, make sure to install all of the necessary wine packages as the official packages break the complete wine package into several parts which can result in wine being crippled or even unusable. If you are already starting to feel nervous, it may be better to just go and use the Wine downloads. In the links section there is even a video showing how to do this.

Installing with Debian based Distro

O. Kaaven [May 08 wine user]: Always run apt-get update after editing sources.list, otherwise your modifications will not take effect. [..] if you want 1.0-rc2 for etch, you could try http://people.debian.org/~ovek/wine/README instead of the winehq ones

Detailed instructions here: http://www.winehq.com/site/download-deb

J von Thaddens Wine tools is now very out of date. While it focused on ease of use, making significant changes to the install of wine, wine progressed so much it outgrew the need for Winetools. Thanks must be made to to J von Thadden for a very handy tool which helped many people use wine. Today, for installing Wine (and for bug reports) use the official wine version, and configure wine using the Winecfg tool which is included with wine

Using the Budgetdedicated wine Mirror

1. Add the lines below to /etc/apt/sources.list

deb http://wine.budgetdedicated.com/apt dapper main

deb-src http://wine.budgetdedicated.com/apt dapper main

2. Then, you can run 'apt-get update' to update APT's package information.

3. Finally, to install Wine, do 'apt-get install wine winetools'.

4. Configure using 'winetools'

Using Sourceforge

1. Add the lines below to /etc/apt/sources.list

deb http://wine.sourceforge.net/apt/ binary/ deb-src http://wine.sourceforge.net/apt/ source/

2. Then, you can run 'apt-get update' to update APT's package information.


A user asked [Jun 05]: anyone can tell me how to to rebuild .debs for 20041019 [from source]?

E. Charpentier:Wine Archive Try to get the source packages from http://snapshot.debian.net/ . This repository saved [me] a few times...

Anon: Use checkinstall : http://asic-linux.com.mx/~izto/checkinstall/

Installing on 64bit Debian

Downgrading using Sid

D. Goodenough: I have a little shell script that I use in these circumstances. It reloads an old version from /var/cache/apt/archives which I keep around until there is a new good version. It reads

<<<<<<<<<<<<<<<
#!/bin/sh
sudo apt-get -y remove wine libwine
sudo dpkg -i `ls /var/cache/apt/archives/*20050628*`
<<<<<<<<<<<<<<<

Of course you must not have done an autoclean (or clean) since the good version, and you must have configured Apt to keep old versions (which is the default, but some turn it off). wine archive Also the script worked fine when wine did not have version numbers but was date based, now [with the change in wine versions] it would require it to be a little more subtle.

Troubleshooting

Debian unstable

missing XFree86 packages

A user reported that they were having difficulties with missing XFree86 packages.Wine Archive Link

W. Ogburn: You should be able to build them on SuSE if you install the XFree86-devel(or xorg-devel) RPM. Also, it seems that you can get old versions out of the SourceForge downloads if you mangle the URL by hand: from the downloads page, find the current version for your platform, copy the link, and edit the version number to 20041019.

J. von Thadden: You can have this *much* easier by using the official site for the old versions: http://prdownloads.sourceforge.net/wine

Running commandline applications

missing wcmd.exe.so
This is connected with the problem that the packages for wine are split up, even though the developers of wine have strongly suggested that wine is a complete package. V. Beron: Install the wine-utils package. It is a suggested package for wine, but should be more recommended than suggested.Wine Archive Link

dlls/oleaut32/olepicture.c won't compile

A User [May 05] reported a problem with dlls/oleaut32/olepicture.c - it won't compile

R. Klazes: Not all gif lib's work. You don't say what distro you are using, but on Debian you should use libungif4-dev and not giflib3g-dev. Wine Archives

libwine20041019 and Open GL

Debian unstable splits up the wine package and requires attention to detail to avoid an opengl issue. To avoid this, you could use winehq.deb packages.

A user reported [Jun05]Wine Archives: I am deinstalling wine and reinstalling at the 20041019 level. I'm running the 2.6.11.7 kernel with the debian distribution. In Aptitude I need to reinstall wine, winetools and libwine. I can find the 20041019 version for everything except libwine. I think libwine must be known by a different name in the rest of the *nix world. I am downloading the RH9 RPM from http://prdownloads.sourceforge.net/wine and then using alien to make a .deb from the rpm. I need to do the same for libwine but I'm not sure what filename at http://prdownloads.sourceforge.net/wine corresponds to libwine, if any.

S. Richie: The content of libwine is a needless splitting of the package - its files are included in what's in the redhat packages and my debian packages. There's no reason to convert with alien or anything like that.

Another posted: found this :http://akira.fsij.org/archive/2005/02/20/debian/pool/main/w/wine/libwine-print_0.0.20041019-1_i386.deb

Yet again a user reported [Jun 05] when upgrading to 20050524 debian unstable package from wine 20050310. I think there could be a bug as OpenGL stopped working. Wine Archives

Could not load OpenGL.  Make sure that you have the latest drivers for your video card from the manufacturer's web site.

debian unstable package had opengl disabled as opengl support seems to be in a separate package: libwine-gl in debian unstable now..

A user said [Jun 05]: I spoke to the Debian package maintainer, their policy is to separate it all so users who do not need cups support do not have to install it seems. [.. and concluded] it is probably not wine's responsibility if they must do this separation.

Winehq.deb packages

[Jun 05] A user reported audio does not seem to work in 20050419 from winehq deb. I have "HardwareAcceleration" = "Emulation" in [dsound] which got it working with my old wine install. I have to force it with "Drivers" = "wineoss.drv" to get it to work. Wine archives

[Nov 05] A user reported: Installing per the instructions on the WineHQ page for Debian/Ubuntu lead to a "404 Not found" (http://.../wine_0.9.1-winehq.orig.tar.gz) message. E. Failed to fetch some archives.

S. Richie: Hmm, that's strange. Looking into it, there's something screwy going on with the APT repository - the file is actually .tar.bz2, but the apt Sources.gz file somehow came up with .tar.gz. I'll try and fix it. wine archive

Debian Stable

sarge wine packages

Apparently Wine debian packages have gcc4 as a dependancy: [Dec 05] S. Richie: The PACKAGE depends on GCC-4 because it's built with GCC-4. True, a proper backport could be made that used other dependencies, but I don't quite have the impetus to make a backport for sarge at the moment.

J. Huizer pointed out this is not too difficult to get around: Wine does not depend on gcc-4, you can compile wine without a problem on debian-stable (I'm using my own compiled version of latest of wine on debian too :-)) wine arcive


A user posted [Nov 05]: I think theres something wrong with the debian packages for sarge on winehq.org cause in sarge there isn't such a file (libXxf86dga.so).

S. Richie: [who kindly has been building for debian using his Ubuntu system] Well, there it is, proof I finally broke things on Debian sarge. I guess I couldn't expect packages built on the latest Ubuntu to work forever with older versions of Debian and Ubuntu - I suspect Hoary and Sarge are both broken now. wine archive

[Ed. It appears you would now need to build from source until this is fixed]

apt-get troubleshooting

A user reported [July 05]: i am running a Debian operating system and i am trying to install/run WINE. I typed as a root user.

$apt-get install wine 


it seems to have installed but it has not appeared on my programs list. How do i get it running?

KHE:/home/zhe# apt-get install wine
Reading Package Lists... Done
Building Dependency Tree... Done
wine is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

C. Britz: You could try

apt-get install --reinstall wine

Perhaps it is just not listed in the menu. Did you try to start it on the command line? It is probably located in /usr/bin/wine. The best way to run wine is build it from source (or grab a current binary) from http://www.winehq.org/site/download! :-)

D. Goodenough: If you also installed binfmt then you can also just run t.exe and it will use wine to run it. Wine Archive

Building Wine from Source on Debian Based

Printing

A user reported [sept05] that printing was not working after compiling from source. After being reminded that cups-devel needs to installed he reported: I was indeed missing several development libraries, including libcupsys2-dev(Debian's counterpart to 'cups-devel' I believe). Wine Archive

Links

Wine Links

External Links

Personal tools