How to install an older version of wine
-
- Newbie
- Posts: 2
- Joined: Thu Jan 14, 2021 8:52 am
How to install an older version of wine
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 !
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 !
Re: How 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.I would like to install an older version of wine
You didn't tell us which Linux distribution you use. And which Wine version you want.can anybody explain me, step by step, how to do this?
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
-
- Newbie
- Posts: 2
- Joined: Thu Jan 14, 2021 8:52 am
Re: How to install an older version of wine
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 !
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 !
Re: How to install an older version of wine
The oldest version on the WineHQ repo is version wine-stable 4.0.4~focalWitch is the oldest version i can install on Ubuntu 20.04LTS ?
Is this software free to download somewhere? Maybe we can figure out what is wrong.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.
Re: How to install an older version of wine
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
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
-
- Newbie
- Posts: 1
- Joined: Fri Jun 18, 2021 12:53 am
Re: How to install an older version of wine
The simplest solution probably is to install Playonlinux
Playonlinux installs application in it's own virtual drive where you can set which version of wine you want to use for that application (and easily change it if needed).
Playonlinux installs application in it's own virtual drive where you can set which version of wine you want to use for that application (and easily change it if needed).
Re: How to install an older version of wine
We figured out how to install an older release. We wanted to stay with v6.15 from the staging area for Ubuntu v20.04. You can use our steps for any other versions and branches.
**BEGIN: prep the environment for the installers**
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository "deb https://dl.winehq.org/wine-builds/ubuntu/ focal main"
sudo apt update
**END:
**BEGIN: You must install in the order given**
sudo apt install --install-recommends wine-staging-i386=6.15~focal-1 -y
sudo apt install --install-recommends wine-staging-amd64=6.15~focal-1 -y
sudo apt install --install-recommends wine-staging=6.15~focal-1 -y
sudo apt install --install-recommends winehq-staging=6.15~focal-1 -y
**END:
You need to get the correct folder for your Linux. For us it was the "focal" folder because we are running Ubuntu v20.04. Thus, our files were at,
https://dl.winehq.org/wine-builds/ubunt ... ary-amd64/
and
https://dl.winehq.org/wine-builds/ubunt ... nary-i386/
For the "wine-staging-i386" package the filename is: wine-staging-i386_6.15~focal-1_i386.deb
Thus, its version is "6.15~focal-1".
You can discern the versions for the other packages from their filenames: wine-staging, wine-staging-amd64 and winehq-staging.
**BEGIN: prep the environment for the installers**
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository "deb https://dl.winehq.org/wine-builds/ubuntu/ focal main"
sudo apt update
**END:
**BEGIN: You must install in the order given**
sudo apt install --install-recommends wine-staging-i386=6.15~focal-1 -y
sudo apt install --install-recommends wine-staging-amd64=6.15~focal-1 -y
sudo apt install --install-recommends wine-staging=6.15~focal-1 -y
sudo apt install --install-recommends winehq-staging=6.15~focal-1 -y
**END:
You need to get the correct folder for your Linux. For us it was the "focal" folder because we are running Ubuntu v20.04. Thus, our files were at,
https://dl.winehq.org/wine-builds/ubunt ... ary-amd64/
and
https://dl.winehq.org/wine-builds/ubunt ... nary-i386/
For the "wine-staging-i386" package the filename is: wine-staging-i386_6.15~focal-1_i386.deb
Thus, its version is "6.15~focal-1".
You can discern the versions for the other packages from their filenames: wine-staging, wine-staging-amd64 and winehq-staging.
Re: How to install an older version of wine
Open Lutris -> on the left click on the gear symbol next to "Runners" -> scroll down to "Wine" and click on the blue button next to it called "Manage Versions" when hovering over it -> select a Lutris version.
Re: How to install an older version of wine
You can also use PlayOnLinux to keep using older Wine versions. PlayOnLinux is similar to Lutris.