Hi guys here is Question and answer: how to install latest stable Wine 5 for Elementary OS 5.1 Hera? :)

The answer:

sudo dpkg --add-architecture i386  

wget -nc https://dl.winehq.org/wine-builds/winehq.key 

sudo apt-key add winehq.key  

sudo apt install software-properties-common  

sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport  

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'  

sudo apt update && sudo apt install --install-recommends winehq-stable  
  • why add this?: sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport – Javier A. Jan 24 at 22:02
  • Welcome to elementary OS SE. Your participation is much appreciated. Please let me inform you that self-answered questions are welcomed here but you should create an answer for answer, do not include the answer in the question. Also, the we love detailed answers. For instance, you can explain why you are executing those commands. Please read, Can I answer my own question?, take a look at How do I write a good answer? Have a nice day! – Hasan Jan 25 at 12:07
  • 1
    It is for FAudio support – Arium76 Jan 25 at 23:19
  • With adding the repositories I get an error: "The repository 'dl.winehq.org/wine-builds/ubuntu hera Release' does not have a Release file." Is there a way to fix that? – Silex Feb 1 at 16:16
  • Still have an error: The following packages have unmet dependencies: winehq-stable : Depends: wine-stable (= 5.0.0~bionic) – sempasha Feb 10 at 15:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.