Ubuntu – How to install wine32 on ubuntu 18.04 64bit

winewinetricks

I'm trying to install wine on my operating system:

uname -a
Linux morad-Vostro-1540 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

when I execute this command I get the following error:

wine --version

it looks like wine32 is missing, you should install
it. as root, please execute "apt-get install wine32" wine-3.0 (Ubuntu
3.0-1ubuntu1)

and when I run this command:

> sudo apt-get install wine32

i get the following issue:

Lecture des listes de paquets… Fait Construction de l'arbre des
dépendances Lecture des informations d'état… Fait Certains
paquets ne peuvent être installés. Ceci peut signifier que vous avez
demandé l'impossible, ou bien, si vous utilisez la distribution
unstable, que certains paquets n'ont pas encore été créés ou ne sont
pas sortis d'Incoming. L'information suivante devrait vous aider à
résoudre la situation :

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

update:

Why do I get this error when I try to execute, this command:

sudo apt-get update

> Atteint:1 http://archive.ubuntu.com/ubuntu bionic InRelease           
> Atteint:2 http://ppa.launchpad.net/clipgrab-team/ppa/ubuntu bionic
> InRelease      Atteint:3 http://dl.winehq.org/wine-builds/ubuntu
> xenial InRelease                Ign:4 http://archive.canonical.com
> precise InRelease                              Réception de:5
> http://archive.canonical.com precise Release [8 180 B]            
> Atteint:6 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic
> InRelease     Réception de:7 http://archive.canonical.com precise
> Release.gpg [181 B]           Ign:8
> http://ppa.launchpad.net/mc3man/trusty-media/ubuntu bionic InRelease  
> Ign:9 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic InRelease
> Atteint:10 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu
> bionic InRelease Err:11
> http://ppa.launchpad.net/mc3man/trusty-media/ubuntu bionic Release    
> 404  Not Found [IP : 91.189.95.83 80] Ign:7
> http://archive.canonical.com precise Release.gpg                      
> Err:12 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic Release 
> 404  Not Found [IP : 91.189.95.83 80] Lecture des listes de paquets...
> Fait                            E: Le dépôt
> http://ppa.launchpad.net/mc3man/trusty-media/ubuntu bionic Release n'a
> pas de fichier Release. N: Les mises à jour depuis un tel dépôt ne
> peuvent s'effectuer de manière sécurisée, et sont donc désactivées par
> défaut N: Voir les pages de manuel d'apt-secure(8) pour la création
> des dépôts et les détails de configuration d'un utilisateur. W: Erreur
> de GPG : http://archive.canonical.com precise Release : Les signatures
> suivantes n'ont pas pu être vérifiées car la clé publique n'est pas
> disponible : NO_PUBKEY 40976EAF437D05B5 E: Le dépôt
> http://archive.canonical.com precise Release n'est pas signé. N: Les
> mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière
> sécurisée, et sont donc désactivées par défaut N: Voir les pages de
> manuel d'apt-secure(8) pour la création des dépôts et les détails de
> configuration d'un utilisateur. E: Le dépôt
> http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic Release n'a pas
> de fichier Release. N: Les mises à jour depuis un tel dépôt ne peuvent
> s'effectuer de manière sécurisée, et sont donc désactivées par défaut
> N: Voir les pages de manuel d'apt-secure(8) pour la création des
> dépôts et les détails de configuration d'un utilisateur.
> morad@morad-Vostro-1540:~$ sudo apt-get install wine32 Lecture des
> listes de paquets... Fait Construction de l'arbre des dépendances     
> Lecture des informations d'état... Fait Certains paquets ne peuvent
> être installés. Ceci peut signifier que vous avez demandé
> l'impossible, ou bien, si vous utilisez la distribution unstable, que
> certains paquets n'ont pas encore été créés ou ne sont pas sortis
> d'Incoming. L'information suivante devrait vous aider à résoudre la
> situation : 
> 
> Les paquets suivants contiennent des dépendances non satisfaites : 
> wine32:i386 : Dépend: libwine:i386 (= 3.0-1ubuntu1) mais ne sera pas
> installé E: Impossible de corriger les problèmes, des paquets
> défectueux sont en mode « garder en l'état ».

Best Answer

I installed wine yesterday in Lubuntu 18.04(based on Ubuntu).

You simple need to go to the synaptic package manager, and search the package named wine-stable(actually i have the 3.0.1 version).

You only need to install that package, and the dependencies will install with it.

After you have done that, you should open a terminal console, and type "winecfg"

Then you have Wine installed on you Ubuntu. If you now want to install something(an .exe for example) you should use the cd command in the console and go to the folder containing the exe. Then you should type on the console: " wine installer.exe" where installer.exe is the name of the file that you want to install.

Related Question