Unable to install wine on ubuntu 14.04

Questions about Wine on Linux
Locked
chfakht
Newbie
Newbie
Posts: 2
Joined: Sun Sep 06, 2015 7:29 pm

Unable to install wine on ubuntu 14.04

Post by chfakht »

i'm using UBUNTU 14.04 , and i want to install wine1.6 since it the latest stable version , i tried from the command line

sudo apt-get install wine1.6

----
Les paquets suivants contiennent des dépendances non satisfaites :
wine1.6 : Dépend: wine1.6-i386 (= 1:1.6.2-0ubuntu4)
Recommande: winbind mais ne sera pas installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».

the error is in french , with a translator to english i get :

The following packages have unmet dependencies:
      wine1.6: Depends: wine1.6-i386 (= 1: 1.6.2-0ubuntu4)
                Recommends: winbind but will not be installed
     E: Unable to correct problems, defective packets are "keep state" mode.

when trying to install it from the software center i get this :

apt://wine1.7

The following packages have unmet dependencies:
wine1.7: Depends: wine1.7-amd64 (= 1:1.7.50-0ubuntu1) but 1:1.7.50-0ubuntu1 is to be installed
Depends: wine1.7-i386 (= 1:1.7.50-0ubuntu1) but it is a virtual package

---------------------

apt://wine1.6
The following packages have unmet dependencies:
wine1.6: Depends: wine1.6-amd64 (= 1:1.6.2-0ubuntu4) but 1:1.6.2-0ubuntu4 is to be installed
Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu4) but it is a virtual package

**Update :**
i have tried to install wine 1.6.2 from the source too

> http://sourceforge.net/projects/wine/?s ... p_redirect

./tools/wineinstall

the process began but after a while i get

checking for X... no
configure: error: X 32-bit development files not found. Wine will be built
without X support, which probably isn't what you want. You will need
to install 32-bit development packages of Xlib/Xfree86 at the very least.
Use the --without-x option if you really want this.
Configure failed, aborting install.


Any hints ?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Unable to install wine on ubuntu 14.04

Post by dimesio »

Binary packages are built by the distros. Ask for help installing it on the Ubuntu forum.

To build Wine from source, follow these instructions: http://wiki.winehq.org/BuildingWine.
chfakht
Newbie
Newbie
Posts: 2
Joined: Sun Sep 06, 2015 7:29 pm

Re: Unable to install wine on ubuntu 14.04

Post by chfakht »

thanks i have followed those instructions on that page

Code: Select all

cd ~/wine-dirs/wine64-build/
../wine-source/configure --enable-win64
make

Code: Select all

cd ~/wine-dirs/wine32-build/
../wine-source/configure --with-wine64=../wine64-build
make
and :

Code: Select all

sudo make install
after doing that it don't seem that wine is beign installed when i try something like

Code: Select all

wine npp.6.8.3.Installer.exe
it tell me that :

Code: Select all

wine: command not found
any hints ?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Unable to install wine on ubuntu 14.04

Post by dimesio »

On Ubuntu you need to follow the instructions for compiling in an lxc container or chroot.
Locked