Can't install Wine on Ubuntu 20.04

Questions about Wine on Linux
Locked
mikitesi
Newbie
Newbie
Posts: 1
Joined: Thu Sep 08, 2022 3:19 am

Can't install Wine on Ubuntu 20.04

Post by mikitesi »

Hi all,
Once removed the Wine packages (that were already present probably due to a previous failed installation attempt) (I've found them with the command

Code: Select all

dpkg -l | grep wine
and then removed them with

Code: Select all

sudo apt-get purge <package name>
), I followed the instructions given in https://wiki.winehq.org/Ubuntu. I didn't receive any error message while following the instructions through the terminal, but however now I can't find Wine amongst installed apps, and when I digit

Code: Select all

apt-cache policy wine
, I get this:

Code: Select all

wine:
  Installato: (nessuno)
  Candidato:  5.0-3ubuntu1
  Tabella versione:
     5.0-3ubuntu1 500
        500 http://it.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://it.archive.ubuntu.com/ubuntu focal/universe i386 Packages
Sorry for the Italian setting.
Installato: (nessuno)
means
Installed: (none)
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Can't install Wine on Ubuntu 20.04

Post by jkfloris »

The WineHQ wine package has a slightly different name; winehq-stable
Probably the following command will work:

Code: Select all

apt-cache policy winehq-stable
# or
apt-cache policy winehq-devel
# or
apt-cache policy winehq-staging
Locked