Brian49 wrote:Greg - now I'm even more bemused! Is there an Idiot's Guide to this somewhere? All I've found by googling are technical discussions between developers. Many thanks.
I have not seen any HowTos either other than a general multiarch HowTo. I cannot provide a step by step guide as I just did it without noting down anything. So here is the rough guide for all those who are interested.
This is not just about getting Wine into 64bit Debian, but converting a 64bit Debian system to Multiarch. It is not a necessary thing to do, only attempt it if you need to use a 32bit program and you are willing to risk trashing your system.
WARNING: I tried this
six months ago and utterly trashed my set up, all I can say is that this time it worked. My system is now based on a Debian Testing Multiarch install using AMD64 kernel and then dist-upgraded to Sid and Mintyfied later. Not that it should matter, but I also run a Liquorix 3.4 kernel. This is for 64bit users and is
unnecessary if you run 32bit.
Uninstall your current wine
Uninstall ia32-libs-* <- this will possibly remove some programs that will need to be put back later eg Skype. Picasa, Gooogle Earth - anything that uses ia32-libs or wine
install wine64-bin - open terminal and run winecfg and it will not run, but it will pop up instructions
OR (copied from the deb file)
sudo dpkg --add-architecture i386
sudo sed -i 's/deb\ /deb\ [arch=amd64,i386]\ /g' /etc/apt/sources.list
sudo apt-get update
sudo apt-get install wine-bin:i386
Use cut and paste as the spaces matter. If decide you want to go back and remove i386 then look here for details
http://wiki.debian.org/Multiarch/HOWTO
Your /etc/apt/sources.list entries will now look like this
deb [arch=amd64,i386]
http://http.us.debian.org/debian/ unstable main contrib non-free <- so amd64 is your primary and i386 is the secondary
It is better at this point to use Synaptic and search for wine. One by one add the win32 packages (the libwine packages as well), starting with wine-bin:i386. I did find a few dependency issues that will probably disappear with updates eg libwine-sane:i386 wanted to remove sane from my system so I did not install it. The install process will add many many i386 libs to your now multiarch system to replace what was in ia32-libs. If you look at your file system you will see that you have /lib, /lib32 and /lib64. The /lib32 folder will be filled up in this process.
Once I had wine32 installed I removed the dummy package wine64-bin
NOTE no longer necessary -> lastly I setup two symlinks in /usr/bin. They are wine ->wine32 and winecfg->winecfg32
Then put back any programs that were removed in the process.
There will now be a menu entry for wine configuration or open a terminal and run winecfg or winecfg32 and set it up as required. Your old setup should translate accross, but check it anyway.