Install Wine (Ubuntu) - Wrong Command in the Wiki

Post issues, bugs, and feature requests about the various WineHQ websites to this forum.
Post Reply
curiouscorvid
Newbie
Newbie
Posts: 3
Joined: Wed Sep 18, 2024 3:52 pm

Install Wine (Ubuntu) - Wrong Command in the Wiki

Post by curiouscorvid »

Not sure where to bring this up. I'm new to Gitlab and reaching out there seems difficult. In any case, the command for the Wine installation on Ubuntu is wrong in the Wiki:
https://gitlab.winehq.org/wine/wine/-/w ... ian-Ubuntu

The problem is rather old and the correction is simple, see here:
https://askubuntu.com/questions/984844/ ... ehq-stable

Rather than

Code: Select all

sudo apt-get install --install-recommends winehq-stable
you should use

Code: Select all

sudo apt-get install --install-recommends wine-stable
User avatar
dimesio
Moderator
Moderator
Posts: 13259
Joined: Tue Mar 25, 2008 10:30 pm

Re: Install Wine (Ubuntu) - Wrong Command in the Wiki

Post by dimesio »

The command in the wiki is correct; it installs the package with compatibility symlinks that allow the user to use our Wine packages as the system default, and also pulls in the actual Wine packages. The command you suggest is only for people who don't want our package to be the system default. This is primarily people who want to install more than one package (-stable,-devel, -staging), and if you scroll down the page to the Notes section, you will see that is described in detail.
curiouscorvid
Newbie
Newbie
Posts: 3
Joined: Wed Sep 18, 2024 3:52 pm

Re: Install Wine (Ubuntu) - Wrong Command in the Wiki

Post by curiouscorvid »

I can locate both the development branch and the staging branch. However, if I try to install the stable branch, apt is unable to locate the package.
User avatar
dimesio
Moderator
Moderator
Posts: 13259
Joined: Tue Mar 25, 2008 10:30 pm

Re: Install Wine (Ubuntu) - Wrong Command in the Wiki

Post by dimesio »

If you're on Ubuntu 24.04, there is no stable package yet because 24.04 was not yet released when 9.0 came out. There will be stable packages for 24.04 whenever the next stable release comes out. In the mean time, you can use either our devel or staging packages, or use Ubuntu's distro Wine package, which is 9.0.
curiouscorvid
Newbie
Newbie
Posts: 3
Joined: Wed Sep 18, 2024 3:52 pm

Re: Install Wine (Ubuntu) - Wrong Command in the Wiki

Post by curiouscorvid »

Yes, I am on Ubuntu 24.04.
I see, thank you.
Post Reply