How to install an older version of wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Post Reply
Braveheart
Newbie
Newbie
Posts: 2
Joined: Thu Jan 14, 2021 8:52 am

How to install an older version of wine

Post by Braveheart » Thu Jan 14, 2021 8:58 am

Hello everybody,

I would like to install an older version of wine. As i am not a dude with linux, can anybody explain me, step by step, how to do this ?

Thank you !

jkfloris
Level 9
Level 9
Posts: 1376
Joined: Thu Aug 14, 2014 10:10 am

Re: How to install an older version of wine

Post by jkfloris » Thu Jan 14, 2021 5:10 pm

I would like to install an older version of wine
Why? If an older version of Wine works and a newer version doesn't, then you should file a bug.
can anybody explain me, step by step, how to do this?
You didn't tell us which Linux distribution you use. And which Wine version you want.

If you use Ubuntu/ Debian/ Mint and have the WineHQ repository enabled
you can install an older version with:

Code: Select all

# Select a version with:
apt policy winehq-stable
--- sample output ---
Version table:
     5.0.3~bullseye 500
        500 https://dl.winehq.org/wine-builds/debian bullseye/main amd64 Packages
     5.0.2~bullseye 500
        500 https://dl.winehq.org/wine-builds/debian bullseye/main amd64 Packages
     5.0.1~bullseye 500
        500 https://dl.winehq.org/wine-builds/debian bullseye/main amd64 Packages
     5.0.0~bullseye 500
        500 https://dl.winehq.org/wine-builds/debian bullseye/main amd64 Packages
     4.0.4~bullseye 500
        500 https://dl.winehq.org/wine-builds/debian bullseye/main amd64 Packages
     4.0.3~bullseye 500
        500 https://dl.winehq.org/wine-builds/debian bullseye/main amd64 Packages
     4.0.2~bullseye 500
        500 https://dl.winehq.org/wine-builds/debian bullseye/main amd64 Packages
---
# In this example I use version "4.0.3~bullseye"
# The Wine packages from WineHQ consist of 4 packages:
#  winehq-stable
#  wine-stable
#  wine-stable-amd64
#  wine-stable-i386
# You can install this version with:
sudo apt install --install-recommends winehq-stable=4.0.3~bullseye wine-stable=4.0.3~bullseye wine-stable-amd64=4.0.3~bullseye wine-stable-i386:i386=4.0.3~bullseye

Braveheart
Newbie
Newbie
Posts: 2
Joined: Thu Jan 14, 2021 8:52 am

Re: How to install an older version of wine

Post by Braveheart » Thu Jan 14, 2021 7:29 pm

Thank you Jkfloris, i will try that.

Yes, it is exactly this : my software, that run since a long time on my old laptop (Ubuntu 16.04LTS), was suddenly uninstallable on my new one (Ubuntu 20.04LTS) with the last version of Wine. An error message occur when i run the setup.exe file. I tried a lot of things to fix the issue since one week but nothing works.

Witch is the oldest version i can install on Ubuntu 20.04LTS ?

Thanks !

jkfloris
Level 9
Level 9
Posts: 1376
Joined: Thu Aug 14, 2014 10:10 am

Re: How to install an older version of wine

Post by jkfloris » Fri Jan 15, 2021 11:04 am

Witch is the oldest version i can install on Ubuntu 20.04LTS ?
The oldest version on the WineHQ repo is version wine-stable 4.0.4~focal
Yes, it is exactly this : my software, that run since a long time on my old laptop (Ubuntu 16.04LTS), was suddenly uninstallable on my new one (Ubuntu 20.04LTS) with the last version of Wine. An error message occur when i run the setup.exe file. I tried a lot of things to fix the issue since one week but nothing works.
Is this software free to download somewhere? Maybe we can figure out what is wrong.

nru1979
Level 2
Level 2
Posts: 13
Joined: Thu Nov 05, 2020 3:23 am
Contact:

Re: How to install an older version of wine

Post by nru1979 » Sat Feb 20, 2021 2:20 pm

Hello,
You can manually download any ubuntu package here:
https://dl.winehq.org/wine-builds/ubunt ... nary-i386/
or if you want to try your luck with an older distro here:
https://dl.winehq.org/wine-builds/ubuntu/pool/main/
Do not forget to download both wineserver and wineclient packages. For example:
wine-stable-i386_2.0.3~artful_i386.deb
wine-stable_2.0.3~artful_i386.deb

Once downloaded you have the choice between installing and unpacking.
Installing a wrong version will damage your distro but if you are sure of yourself, here is:
sudo dpkg -i wine-stable-i386_2.0.3~artful_i386.deb
sudo dpkg -i wine-stable_2.0.3~artful_i386.deb
sudo apt-get --fix-broken install

if you want to extract,
sudo dpkg-deb -x wine-stable-i386_2.0.3~artful_i386.deb
sudo dpkg-deb -x wine-stable_2.0.3~artful_i386.deb
then you can move the extracted binaries to your /home/user/winebin/... and run your wine using full access path.
example:
/home/user/winebin/bin/wine somecommand.exe

Post Reply