Most Linux distro (including Debian/Mint) have WINE in its official repository, all we have to do is running a single-line command like sudo apt-get install wine to install it. Unfortunately, at least in Debian system official repository (including Debian Squeeze (stable), Wheezy (testing), or LMDE which is based on Debian Testing, WINE package is a bit obsolate. WINE version in the repo is 1.0, while latest stable version of WINE is 1.4, let alone the beta version which currently has reached WINE 1.5. The latest version of WINE brings many features and improvements compared with previous one, supports more Windows apps/games, and also bug fixes.
According to WINE official page, we can install latest WINE on Debian system via this website. The page does not provide a repository that we can simply add it to the Debian source list, but we have to download all necessary packages of latest WINE and install them all manually.
Here I will show you how to install lates WINE in Debian.
I have this latest WINE installed in my Debian machine and have been using it without any problem, but, be aware though, WINE packages that we will install here is beta version (unstable), use it at your own risk.
Download all binary (.deb)
You can download the packages from here. The page provides *.deb packages for amd64 and i386 architecture. Download only the packages suitable for your machine. Place them in one folder.
.Pre-installation: Install required dependencies
This step is optional. Do this if you don't want to see an error message saying something like broken dependencies. You can skip this step though, you can fix it later (after WINE installation) by using Synaptic or by runningsudo apt-get install -f
. FYI, from my exprerience, a WINE library need a package calledoss-compat_2
to be installed first.
.Install WINE packages
First, in Terminal, change current working directory to the location where you put the downloaded wine packages (in step 1). For example, if you put the packages in Donwloads folder in your home directory, run this command in Terminal:
cd /home/[YourUserName]/Downloads
Now continue with next installation process:
- Install WINE library
Run this command in Terminal:
sudo dpkg -i libwine*
- Install WINE binary
Run this command in Terminal:
sudo dpkg -i wine-bin-unstable*
- Install WINE application
Run this command in Terminal:
sudo dpkg -i wine-unstable*
sudo apt-get install -f
.- Install WINE library
Install WINE Gecko
This is optional. If you need running an internet based application like a browser in WINE, you need to have a package called "Wine Gecko". You can download it from here. After downloading the app, move or copy it to/usr/share/wine/gecko/
(create the folder if not exist; root previlage needed). This way, you have WINE Gecko available for all users.
You can also choose to let WINE download it for you, but the downloaded file will be used only for current user, and also it will be removed when you remove .wine folder in you home directory.
Congrats! Enjoy your wine :)
having problems installing as you outline. when I run the sudo dpkg -i libwine* command in the terminal i get the following:
ReplyDeletedpkg-split: error: error reading libwine: Is a directory
dpkg: error processing libwine (--install):
subprocess dpkg-split returned error exit status 2
Errors were encountered while processing:
libwine
Please help
Try:
Deletesudo dpkg -i libwine*.deb
.
It's not latest.
ReplyDeleteIt is the latest, according to WineHQ official website:
Deletehttp://www.winehq.org/download/debian
.
sorry but this makes my debian go mary go round since 'sudo apt-get install -f' always brings my system back to square one (deletes all unstable wine binaries since they all have dependency problems). clearing dependency issue binaries will obviously NOT solve the problem, it eliminates the problem.
ReplyDeleteJust to add a small note for recent Debian amd64 Net installations:
ReplyDeleteAfter setting up the base system, you must add i386 architecture and update:
dpkg --add-architecture i386
aptitude update
After that, proceed as described in the above post.
(additional details for Debian Net installation)
ReplyDeleteAfter adding i386 architecture and updating, and before trying to add Wine per the above post, you have to add the following packages:
aptitude install ia32-libs libc6-i386 oss-compat
It will list a lot of other packages, just install everything by pressing Enter.
Once done, just proceed with the installation of Wine.